mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-29 11:12:02 +01: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", "")
|
||||
SESSION_EXPIRE_TIME_SECONDS = int(
|
||||
os.environ.get("SESSION_EXPIRE_TIME_SECONDS") or 86400
|
||||
) # 1 day
|
||||
os.environ.get("SESSION_EXPIRE_TIME_SECONDS") or 86400 * 7
|
||||
) # 7 days
|
||||
|
||||
# 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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user