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:
Kevin Chung
2020-06-03 02:09:48 -04:00
committed by GitHub
parent 2a8d7ed349
commit 52c65ced55
7 changed files with 27 additions and 22 deletions

View File

@@ -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)