app/models/devise_token_auth/concerns/user.rb
# override devise method to include additional info as opts hash
override devise method to include additional info as opts hash
override devise method to include additional info as opts hash
def send_reset_password_instructions(opts=nil)
      token = set_reset_password_token
      opts ||= {}
      opts[:client_config] ||= "default"
      if pending_reconfirmation?
        opts[:to] = unconfirmed_email
      else
        opts[:to] = email
      end
      send_devise_notification(:reset_password_instructions, token, opts)
      token
    end
def send_reset_password_instructions ( opts = nil ) token = set_reset_password_token opts ||= { } opts [ :client_config ] ||= "default" if pending_reconfirmation? opts [ :to ] = unconfirmed_email else opts [ :to ] = email end send_devise_notification ( :reset_password_instructions , token , opts ) token end
override devise method to include additional info as opts hash
override devise method to include additional info as opts hash
# fall back to "default" config name
opts
<not_specific>