diff --git a/server/main.py b/server/main.py index d70b99f..bd64d40 100644 --- a/server/main.py +++ b/server/main.py @@ -179,6 +179,7 @@ async def resetpasswd(uid: str, response: Response): tkn = uuid.uuid4().hex apikeys[tkn] = tokens[tokennow] response.set_cookie("session", tokennow) + del emails[uid] return '