Copy-paste error

This commit is contained in:
Jean-Daniel Guyot 2011-01-25 22:28:30 +08:00 committed by José Valim
parent 1b1dc2a429
commit d23a7ca8d5
1 changed files with 1 additions and 1 deletions

View File

@ -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