diff --git a/flask_security/core.py b/flask_security/core.py index bae5e0b8..3b51fb5f 100644 --- a/flask_security/core.py +++ b/flask_security/core.py @@ -30,7 +30,7 @@ ResetPasswordForm, SendConfirmationForm from .utils import config_value as cv from .utils import _, get_config, hash_data, localize_callback, string_types, \ - url_for_security, verify_hash, send_mail + url_for_security, send_mail from .views import create_blueprint # Convenient references @@ -247,7 +247,7 @@ def _request_loader(request): data = _security.remember_token_serializer.loads( token, max_age=_security.token_max_age) user = _security.datastore.find_user(id=data[0]) - if user and verify_hash(data[1], user.password): + if user: return user except: pass