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

Set 2FA Remember-me cookie expiry #960

Merged
merged 1 commit into from
May 21, 2024

Conversation

wrongecho
Copy link
Collaborator

Currently, the token is only valid for 2 days (86400 seconds = 24 hrs, multiplied by 2).

This PR adjusts the cookie expiry date to the number of days configured that tokens are cleared after. This should help ensure users are not prompted for 2FA every few days, even if they've set a longer interval.

…be valid for

Currently, the token is only valid for 2 days (86400 seconds = 24 hrs, multiplied by 2). This PR adjusts the cookie expiry date to the number of days configured that tokens are cleared after. This should help ensure users are not prompted for 2FA every few days, even if they've set a longer interval.
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
15.2% Duplication on New Code

See analysis details on SonarCloud

@johnnyq
Copy link
Collaborator

johnnyq commented May 21, 2024

Good catch @wrongecho Thanks for the quick fix =]

@johnnyq johnnyq merged commit 85a1c5e into itflow-org:master May 21, 2024
3 checks passed
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