Skip to content
Snippets Groups Projects
Commit cb718c64 authored by Siddhesh Sreedar's avatar Siddhesh Sreedar
Browse files

websocket

parent c4e2a52d
Branches browse-tab
No related tags found
No related merge requests found
......@@ -104,6 +104,9 @@ def sign_out():
if user_data == None:
return jsonify({"success": False, "msg": "token invalid"}), 200
email = database_helper.get_email(token)
del active_users[email]
database_helper.remove_token(token)
return jsonify({"success": True, "msg": "sign out successful"}), 200
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment