mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Call to client for password check incorrectly passed user instead
of user.id
This commit is contained in:
@@ -39,7 +39,7 @@ def _get_and_verify_user(email_address, password):
|
||||
return None
|
||||
elif not user.is_active():
|
||||
return None
|
||||
elif not users_dao.verify_password(user, password):
|
||||
elif not users_dao.verify_password(user.id, password):
|
||||
return None
|
||||
else:
|
||||
return user
|
||||
|
||||
Reference in New Issue
Block a user