mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 22:14:25 +01:00
Remove keys from session and inject Session class into Jinja (#1456)
* Closes #1362 * Reduces the session object to just an id, nonce, and security hash
This commit is contained in:
@@ -71,9 +71,8 @@ def test_oauth_configured_flow():
|
||||
client = login_with_mlc(app)
|
||||
with client.session_transaction() as sess:
|
||||
assert sess["id"]
|
||||
assert sess["name"]
|
||||
assert sess["email"]
|
||||
assert sess["nonce"]
|
||||
assert sess["hash"]
|
||||
destroy_ctfd(app)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user