Browse Source

empty

demo-equations
Kat 5 months ago
parent
commit
aa64c4271f
  1. 1
      app/models/user.rb

1
app/models/user.rb

@ -164,6 +164,7 @@ class User < ApplicationRecord
def reset_password_notify_template def reset_password_notify_template
RESET_PASSWORD_TEMPLATE_ID RESET_PASSWORD_TEMPLATE_ID
end end
def confirmable_template def confirmable_template
if last_sign_in_at.present? && (unconfirmed_email.blank? || unconfirmed_email == email) if last_sign_in_at.present? && (unconfirmed_email.blank? || unconfirmed_email == email)

Loading…
Cancel
Save