remotes/1693045480750635534/spooky-22
Aevann1 2022-04-02 18:47:11 +02:00
parent 16ba53ec84
commit 56f5d44c90
2 changed files with 0 additions and 3 deletions

View File

@ -146,7 +146,6 @@ def front_all(v, sub=None, subdomain=None):
if (request.path.startswith('/h/') or request.path.startswith('/s/')) and not sub: abort(404)
if g.webview and not session.get("session_id"):
session.permanent = True
session["session_id"] = secrets.token_hex(49)
if not v and request.path == "/" and not request.headers.get("Authorization"):

View File

@ -139,7 +139,6 @@ def login_post():
else:
abort(400)
session.permanent = True
session["session_id"] = token_hex(49)
session["lo_user"] = account.id
session["login_nonce"] = account.login_nonce
@ -356,7 +355,6 @@ def sign_up_post(v):
send_notification(new_user.id, WELCOME_MSG)
session.permanent = True
session["session_id"] = token_hex(49)
session["lo_user"] = new_user.id