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_confirmation_instructions(opts=nil)
      unless @raw_confirmation_token
        generate_confirmation_token!
      end
      opts ||= {}
      opts[:client_config] ||= "default"
      if pending_reconfirmation?
        opts[:to] = unconfirmed_email
      end
      send_devise_notification(:confirmation_instructions, @raw_confirmation_token, opts)
    end
def send_confirmation_instructions ( opts = nil ) unless @raw_confirmation_token generate_confirmation_token! end opts ||= { } opts [ :client_config ] ||= "default" if pending_reconfirmation? opts [ :to ] = unconfirmed_email end send_devise_notification ( :confirmation_instructions , @raw_confirmation_token , opts ) 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>