Skip to content

✨(backend) allow setting session cookie age via env var #977

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

Merged
merged 1 commit into from
May 19, 2025

Conversation

sampaccoud
Copy link
Member

Purpose

We want to be able to increase the duration of the cookie session.

Proposal

Add django-configuration IntegerValue to expose the SESSION_COOKIE_AGE as an environment variable.

@sampaccoud sampaccoud requested review from AntoLC and lunika May 16, 2025 18:14
@sampaccoud sampaccoud self-assigned this May 16, 2025
@sampaccoud sampaccoud added documentation Improvements or additions to documentation python Pull requests that update Python code backend reusability self-host labels May 16, 2025
We want to be able to increase the duration of the cookie session
by setting an environment variable.
@lunika lunika force-pushed the make-cookie-session-duration-configurable branch from d46a14d to 6e5d005 Compare May 19, 2025 11:57
@lunika lunika merged commit 6e5d005 into main May 19, 2025
20 of 21 checks passed
@lunika lunika deleted the make-cookie-session-duration-configurable branch May 19, 2025 12:18
@AntoLC AntoLC mentioned this pull request May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend documentation Improvements or additions to documentation python Pull requests that update Python code reusability self-host
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants