Skip to content
Snippets Groups Projects
Commit 09cefd2f authored by Agate's avatar Agate :speech_balloon:
Browse files

Longer sessions

parent 10a1ef29
No related branches found
No related tags found
No related merge requests found
......@@ -584,6 +584,8 @@ AUTHENTICATION_BACKENDS = (
"funkwhale_api.users.auth_backends.AllAuthBackend",
)
SESSION_COOKIE_HTTPONLY = False
SESSION_COOKIE_AGE = env.int("SESSION_COOKIE_AGE", default=3600 * 25 * 60)
# Some really nice defaults
ACCOUNT_AUTHENTICATION_METHOD = "username_email"
ACCOUNT_EMAIL_REQUIRED = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment