aboutsummaryrefslogtreecommitdiff
path: root/scripts/maintenance/datastructure.py
diff options
context:
space:
mode:
authorzsloan2022-04-04 19:22:14 +0000
committerzsloan2022-04-04 19:22:14 +0000
commit8f12a4d258eb38a653022a395beb34b62ae5c1b4 (patch)
treedcc6ce83e78c8e2cd249e9b58e477da7f5441848 /scripts/maintenance/datastructure.py
parentf9f257286686335dae106e753ebc74da08fa917e (diff)
downloadgenenetwork2-8f12a4d258eb38a653022a395beb34b62ae5c1b4.tar.gz
Change UserSession to properly remove user session ID when not logged in
It's not entirely clear to me exactly why the previous logic wasn't working correctly, but this change (that removes the user cookie when there's no user_session after the request and returns None if there aren't any user_details) appears to fix the issue. The main confusing part is why the user_cookie still exists even when not logged in
Diffstat (limited to 'scripts/maintenance/datastructure.py')
0 files changed, 0 insertions, 0 deletions