mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-09 14:39:40 +02:00
Increase session timeout default
This commit is contained in:
parent
517c27c5ed
commit
37110df2de
@ -46,8 +46,8 @@ MASK_CREDENTIAL_PREFIX = (
|
|||||||
|
|
||||||
SECRET = os.environ.get("SECRET", "")
|
SECRET = os.environ.get("SECRET", "")
|
||||||
SESSION_EXPIRE_TIME_SECONDS = int(
|
SESSION_EXPIRE_TIME_SECONDS = int(
|
||||||
os.environ.get("SESSION_EXPIRE_TIME_SECONDS") or 86400
|
os.environ.get("SESSION_EXPIRE_TIME_SECONDS") or 86400 * 7
|
||||||
) # 1 day
|
) # 7 days
|
||||||
|
|
||||||
# set `VALID_EMAIL_DOMAINS` to a comma seperated list of domains in order to
|
# set `VALID_EMAIL_DOMAINS` to a comma seperated list of domains in order to
|
||||||
# restrict access to Danswer to only users with emails from those domains.
|
# restrict access to Danswer to only users with emails from those domains.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user