mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 23:09:17 +02:00
Longer sessions
This commit is contained in:
parent
10a1ef295f
commit
09cefd2f98
1 changed files with 2 additions and 0 deletions
|
@ -584,6 +584,8 @@ AUTHENTICATION_BACKENDS = (
|
||||||
"funkwhale_api.users.auth_backends.AllAuthBackend",
|
"funkwhale_api.users.auth_backends.AllAuthBackend",
|
||||||
)
|
)
|
||||||
SESSION_COOKIE_HTTPONLY = False
|
SESSION_COOKIE_HTTPONLY = False
|
||||||
|
SESSION_COOKIE_AGE = env.int("SESSION_COOKIE_AGE", default=3600 * 25 * 60)
|
||||||
|
|
||||||
# Some really nice defaults
|
# Some really nice defaults
|
||||||
ACCOUNT_AUTHENTICATION_METHOD = "username_email"
|
ACCOUNT_AUTHENTICATION_METHOD = "username_email"
|
||||||
ACCOUNT_EMAIL_REQUIRED = True
|
ACCOUNT_EMAIL_REQUIRED = True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue