lib/generators/authentication/templates/mailers/session_mailer.rb.tt in authentication-zero-2.11.2 vs lib/generators/authentication/templates/mailers/session_mailer.rb.tt in authentication-zero-2.12.0
- old
+ new
@@ -1,6 +1,6 @@
class SessionMailer < ApplicationMailer
def signed_in_notification
@session = params[:session]
- mail to: @session.<%= singular_table_name %>.email, subject: "New sign-in to your account"
+ mail to: @session.user.email, subject: "New sign-in to your account"
end
end