mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-18 06:24:23 +01:00
Remove adding email to user session
This commit is contained in:
@@ -22,7 +22,6 @@ def login_user(user):
|
|||||||
|
|
||||||
def update_user(user):
|
def update_user(user):
|
||||||
session["id"] = user.id
|
session["id"] = user.id
|
||||||
session["email"] = user.email
|
|
||||||
session["hash"] = hmac(user.password)
|
session["hash"] = hmac(user.password)
|
||||||
|
|
||||||
# Clear out any currently cached user attributes
|
# Clear out any currently cached user attributes
|
||||||
|
|||||||
Reference in New Issue
Block a user