|
|
@ -165,6 +165,7 @@ class User < ApplicationRecord |
|
|
|
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) |
|
|
|
USER_REACTIVATED_TEMPLATE_ID |
|
|
|
USER_REACTIVATED_TEMPLATE_ID |
|
|
|