Sha256: 77469c5870bdf312fdfa50c69857bd423ba373a80a0ac2a9a8e360fe28c64f40

Contents?: true

Size: 980 Bytes

Versions: 13

Compression:

Stored size: 980 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 mailer, so you can benefit from future
  # features. But, if you must, you can do it here.
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
authpwn_rails-0.23.0 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.22.1 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.22.0 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.21.1 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.21.0 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.20.0 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.19.0 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.18.2 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.18.1 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.18.0 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.17.2 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.17.1 lib/authpwn_rails/generators/templates/session_mailer.rb
authpwn_rails-0.17.0 lib/authpwn_rails/generators/templates/session_mailer.rb