remove unused reset_password_token method

closes #2621
This commit is contained in:
Vasiliy Ermolovich 2013-09-14 12:23:48 +03:00
parent 4216c34538
commit d75fd56f15
1 changed files with 0 additions and 5 deletions

View File

@ -101,11 +101,6 @@ module Devise
recoverable
end
# Generate a token checking if one does not already exist in the database.
def reset_password_token
generate_token(:reset_password_token)
end
# Attempt to find a user by its reset_password_token to reset its
# password. If a user is found and token is still valid, reset its password and automatically
# try saving the record. If not user is found, returns a new user