Sha256: 41c277b35b3524f903c94f6b455341cdde5b82d51502963dfd0beb9bda90fdff

Contents?: true

Size: 984 Bytes

Versions: 17

Compression:

Stored size: 984 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

17 entries across 17 versions & 1 rubygems

Version Path
authpwn_rails-0.16.2 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.16.1 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.16.0 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.15.3 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.15.2 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.15.1 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.15.0 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.14.3 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.14.2 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.14.1 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.14.0 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.13.4 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.13.3 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.13.2 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.13.1 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.13.0 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.12.1 lib/authpwn_rails/generators/templates/session_mailer.rb