Copy-paste error
This commit is contained in:
parent
1b1dc2a429
commit
d23a7ca8d5
|
@ -35,7 +35,7 @@ module Devise
|
|||
|
||||
# Resets reset password token and send reset password instructions by email
|
||||
def send_reset_password_instructions
|
||||
generate_reset_password_token! if self.confirmation_token.nil? or !reset_password_period_valid?
|
||||
generate_reset_password_token! if self.reset_password_token.nil? or !reset_password_period_valid?
|
||||
::Devise.mailer.reset_password_instructions(self).deliver
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue