Sha256: 0e2968147f50db3ea7284dc383d4b729485305b84d380f69c6c9a8ae02b6163f
Contents?: true
Size: 990 Bytes
Versions: 8
Compression:
Stored size: 990 Bytes
Contents
class SessionMailer < ActionMailer::Base include Authpwn::SessionMailer def email_verification_subject(token, server_hostname, protocol) # Consider replacing the hostname with a user-friendly application name. "#{server_hostname} e-mail verification" end 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 def reset_password_subject(token, server_hostname, protocol) # Consider replacing the hostname with a user-friendly application name. "#{server_hostname} password reset" end 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 # You shouldn't extend the session controller, so you can benefit from future # features. But, if you must, you can do it here. end
Version data entries
8 entries across 8 versions & 1 rubygems