Skip to content

Fix custom session.cookie-lifetime#8446

Merged
Alkarex merged 1 commit intoFreshRSS:edgefrom
Alkarex:fix-session.cookie-lifetime
Jan 18, 2026
Merged

Fix custom session.cookie-lifetime#8446
Alkarex merged 1 commit intoFreshRSS:edgefrom
Alkarex:fix-session.cookie-lifetime

Conversation

@Alkarex
Copy link
Member

@Alkarex Alkarex commented Jan 18, 2026

fix #8430
Fix case when session.cookie-lifetime is not using the default value of 0 in PHP ini.

Co-authored-by: rioky rioky@users.noreply.github.com

fix FreshRSS#8430
Fix case when `session.cookie-lifetime` is not using the default value of 0 in PHP ini.
Co-authored-by: rioky <rioky@users.noreply.github.com>
@Alkarex Alkarex added the Bug (confirmed) 🐞 issues that are reproducible label Jan 18, 2026
@Alkarex Alkarex added this to the 1.28.1 milestone Jan 18, 2026
@Alkarex Alkarex merged commit 63379a6 into FreshRSS:edge Jan 18, 2026
1 check passed
@Alkarex Alkarex deleted the fix-session.cookie-lifetime branch January 18, 2026 19:41
Alkarex added a commit to Alkarex/FreshRSS that referenced this pull request Jan 18, 2026
Follow-up of FreshRSS#2630 now that we have PHP 7.3+ (even PHP 8.1+).
* The new syntax natively supports `samesite`, and also avoids the need of re-setting all parameters.
* Use automatic path instead of own function `getCookieDir()`.

Follow-up of FreshRSS#8446
* Sanitize lifetime of session cookies from PHP ini to avoid likely invalid/misunderstood values
Alkarex added a commit that referenced this pull request Jan 28, 2026
Follow-up of #2630 now that we have PHP 7.3+ (even PHP 8.1+).
* The new syntax natively supports `samesite`, and also avoids the need of re-setting all parameters.
* Use automatic path instead of own function `getCookieDir()`.

Follow-up of #8446
* Sanitize lifetime of session cookies from PHP ini to avoid likely invalid/misunderstood values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug (confirmed) 🐞 issues that are reproducible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Can't login without keep alive checkbox, auth cookie instantly removed

1 participant