mirror of
https://github.com/wassname/flask-security.git
synced 2026-10-01 12:00:44 +08:00
clean up
This commit is contained in:
1 parent
e9b49b8e9e
commit
aba98a3a03
1 file changed
+1
-1
@@ -58,7 +58,7 @@ def _check_token():
|
||||
try:
|
||||
data = serializer.loads(token)
|
||||
user = _security.datastore.find_user(id=data[0],
|
||||
authentication_token=token)
|
||||
authentication_token=token)
|
||||
|
||||
if data[1] != utils.md5(user.email):
|
||||
raise Exception()
|
||||
|
||||
Reference in new issue
Block a user