Class: ActionAuth::UserMailer
- Inherits:
-
ApplicationMailer
- Object
- ActionMailer::Base
- ApplicationMailer
- ActionAuth::UserMailer
- Defined in:
- app/mailers/action_auth/user_mailer.rb
Instance Method Summary collapse
Instance Method Details
#email_verification ⇒ Object
10 11 12 13 14 15 |
# File 'app/mailers/action_auth/user_mailer.rb', line 10 def email_verification @user = params[:user] @signed_id = @user.generate_token_for(:email_verification) mail to: @user.email, subject: "Verify your email" end |
#magic_link ⇒ Object
17 18 19 20 21 22 |
# File 'app/mailers/action_auth/user_mailer.rb', line 17 def magic_link @user = params[:user] @signed_id = @user.generate_token_for(:magic_token) mail to: @user.email, subject: "Sign in to your account" end |
#password_reset ⇒ Object
3 4 5 6 7 8 |
# File 'app/mailers/action_auth/user_mailer.rb', line 3 def password_reset @user = params[:user] @signed_id = @user.generate_token_for(:password_reset) mail to: @user.email, subject: "Reset your password" end |