Skip to content

fix(settings): extend admin session cookie lifetime (#2464)#2786

Open
Tarekchehahde wants to merge 1 commit into
IFRCGo:developfrom
Tarekchehahde:fix/issue-2464-admin-session-cookie-age
Open

fix(settings): extend admin session cookie lifetime (#2464)#2786
Tarekchehahde wants to merge 1 commit into
IFRCGo:developfrom
Tarekchehahde:fix/issue-2464-admin-session-cookie-age

Conversation

@Tarekchehahde

Copy link
Copy Markdown

Summary

  • Configure SESSION_COOKIE_AGE (default 28 days, env-overridable)
  • Enable SESSION_SAVE_EVERY_REQUEST so active sessions extend on each request

Test plan

  • Deploy to staging: confirm admin session persists across browser restarts within cookie age
  • Override SESSION_COOKIE_AGE via env if shorter lifetime is required

Fixes #2464

Made with Cursor

Set SESSION_COOKIE_AGE to 28 days and SESSION_SAVE_EVERY_REQUEST so
active admin users are not prompted to re-login on every visit.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[PROD] Admin page login frequency optimization

1 participant