class SessionMailer

Public Instance Methods

email_verification_from(token, server_hostname, protocol) click to toggle source
# File lib/authpwn_rails/generators/templates/session_mailer.rb, line 9
def email_verification_from(token, server_hostname, protocol)
  # You most likely need to replace the e-mail address below.
  %Q|"#{server_hostname} staff" <admin@#{server_hostname}>|
end
email_verification_subject(token, server_hostname, protocol) click to toggle source
# File lib/authpwn_rails/generators/templates/session_mailer.rb, line 4
def email_verification_subject(token, server_hostname, protocol)
  # Consider replacing the hostname with a user-friendly application name.
  "#{server_hostname} e-mail verification"
end
reset_password_from(token, server_hostname, protocol) click to toggle source
# File lib/authpwn_rails/generators/templates/session_mailer.rb, line 19
def reset_password_from(token, server_hostname, protocol)
  # You most likely need to replace the e-mail address below.
  %Q|"#{server_hostname} staff" <admin@#{server_hostname}>|
end
reset_password_subject(token, server_hostname, protocol) click to toggle source
# File lib/authpwn_rails/generators/templates/session_mailer.rb, line 14
def reset_password_subject(token, server_hostname, protocol)
  # Consider replacing the hostname with a user-friendly application name.
  "#{server_hostname} password reset"
end