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

Fix empty EXPIRE_SESSION_AFTER results in no session at all #467

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

tramuntanal
Copy link
Collaborator

@tramuntanal tramuntanal commented Feb 6, 2024

🎩 What? Why?

When EXPIRE_SESSION_AFTER was not set, zero was being taken as default.
This PR fixes this by fixing the logic of the || and allowing half hours by parsing to float instead of integer.

📌 Related Issues

@tramuntanal tramuntanal self-assigned this Feb 6, 2024
@tramuntanal tramuntanal merged commit b85c493 into master Feb 6, 2024
5 checks passed
@tramuntanal tramuntanal deleted the fix/config_expire_session_w_defaults branch February 6, 2024 08:52
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.

2 participants