Skip to content

Commit f820bce

Browse files
authored
revert override reset pass
1 parent f80dede commit f820bce

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

lib/devise/models/recoverable.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ def reset_password(new_password, new_password_confirmation)
4949
# Returns the token sent in the e-mail.
5050
def send_reset_password_instructions
5151
token = set_reset_password_token
52-
#send_reset_password_instructions_notification(token)
53-
User.send_password_reset(self, token)
54-
52+
send_reset_password_instructions_notification(token)
53+
5554
token
5655
end
5756

0 commit comments

Comments
 (0)