Skip to content
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

JRAD-853 set cookie lifetime #12

Open
wants to merge 3 commits into
base: jobrad-14.0
Choose a base branch
from

Conversation

SimonArnu
Copy link

Description of the issue/feature this PR addresses:
During pentesting it appeared that the max age of the session cookie was set to 90 days.
This should be reduced to lessen the risk of session takeover.

See https://jira.dev.jobrad.org/browse/JRAD-853

Current behavior before PR:
Cookie is set with an expiration date 90 days in the future.

Desired behavior after PR is merged:
Cookie is set with an expiration date 1 day in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant