Skip to content
Snippets Groups Projects
Commit 2927d49c authored by Anton's avatar Anton
Browse files

trying to fix web socket disconnect

parent a8215380
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,8 @@ def validate_request():
if hashed_data == reconstructed_hashed_data:
print("Auth successfull")
return True, database_helper.get_user_by_email(user_identifier)
else:
print("Hash missmatch")
print("Auth failed")
return False, None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment