diff options
author | zsloan | 2022-04-04 19:22:14 +0000 |
---|---|---|
committer | zsloan | 2022-04-04 19:22:14 +0000 |
commit | 8f12a4d258eb38a653022a395beb34b62ae5c1b4 (patch) | |
tree | dcc6ce83e78c8e2cd249e9b58e477da7f5441848 /scripts/maintenance | |
parent | f9f257286686335dae106e753ebc74da08fa917e (diff) | |
download | genenetwork2-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')
0 files changed, 0 insertions, 0 deletions