-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Session expiry banner on the source index page #5716
Comments
@kushaldas I can also reproduce this issue. This appears to be an edge case where the Based on my local testing, this scenario only occurs where the user has already been logged out due to inactivity (and thus the value stored in the cookie). Provided the analysis above is true, it might not be worth addressing here, given how unlikely this is to occur. What do you think? Is this consistent with your local testing? If you can reproduce in other cases, please check for presence of a set |
FYI I fixed this in the following PR, when I refactored the session expiration logic: https://github.com/freedomofpress/securedrop/pull/5694/files#diff-c2cc3d723ead9193ae70023970aee1a19eaec93bf2c0ffbf1a9a19d89dfb00feL124 . |
Yes, I also prefer to have a fix later as this is a very rare case. I got the same behaviour as you documented here. |
Here are some related STRs: #5741. I'll keep them separate for now during QA but it probably makes sense to merge them into this Issue if we can't fix one or any of them during QA. |
Thanks, closing accordingly, we'll test session management extensively during QA as well. |
Description
From the release QA steps
Steps to Reproduce
SESSION_EXPIRATION_MINUTES
from120
to2
in/var/www/securedrop/config.py
, then restart Apache withsudo systemctl restart apache2
Expected Behavior
Actual Behavior
Comments
Suggestions to fix, any other relevant information.
The text was updated successfully, but these errors were encountered: