We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 935ac02 commit eab0e58Copy full SHA for eab0e58
src/open_inwoner/conf/base.py
@@ -512,7 +512,10 @@
512
"ADMIN_SESSION_COOKIE_AGE", 3600
513
) # Default 1 hour max session duration for admins
514
SESSION_WARN_DELTA = 120 # Warn 2 minutes before end of session.
515
-SESSION_COOKIE_AGE = 900 # Set to 15 minutes or less for testing
+# Set to 15 minutes or less for testing
516
+SESSION_COOKIE_AGE = config("SESSION_COOKIE_AGE", 900)
517
+OIDC_RENEW_ID_TOKEN_EXPIRY_SECONDS = config("OIDC_RENEW_ID_TOKEN_EXPIRY_SECONDS", 901)
518
+
519
520
LOGIN_REDIRECT_URL = "/"
521
LOGOUT_REDIRECT_URL = "/accounts/login/"
0 commit comments