fds
This commit is contained in:
parent
91e700d1d9
commit
55339f5e7b
2 changed files with 2 additions and 3 deletions
|
@ -134,10 +134,10 @@ 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
|
||||
session.permanent = True
|
||||
|
||||
check_for_alts(account.id)
|
||||
|
||||
|
@ -337,9 +337,9 @@ def sign_up_post(v):
|
|||
|
||||
if "rama" in request.host: send_notification(new_user.id, WELCOME_MSG)
|
||||
|
||||
session.permanent = True
|
||||
session["session_id"] = token_hex(49)
|
||||
session["lo_user"] = new_user.id
|
||||
session.permanent = True
|
||||
|
||||
g.db.commit()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue