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

Version Path
authpwn_rails-0.12.0 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.11.1 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.11.0 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.10.12 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.10.11 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.10.10 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.10.9 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.10.8 lib/authpwn_rails/generators/templates/session_mailer.rb