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

Sync JWT and cookie expiration #94

Merged
merged 1 commit into from
Apr 22, 2024
Merged

Sync JWT and cookie expiration #94

merged 1 commit into from
Apr 22, 2024

Conversation

TheoLechemia
Copy link
Member

Synchronisation de l'expiration token JWT et du cookie de session

# retro-compat set COOKIE_EXPIRATION in REMEMBER_COOKIE_DURATION
# (Flask Login parameter, default 1 year)
app.config["REMEMBER_COOKIE_DURATION"] = app.config.get(
"COOKIE_EXPIRATION", 31557600
Copy link
Contributor

@jacquesfize jacquesfize Apr 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

la durée par défaut est de 1 an ? ça fait pas beaucoup ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TheoLechemia TheoLechemia merged commit 2e01b7d into develop Apr 22, 2024
4 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.

None yet

2 participants