feat(auth): Allow session ttl to be configurable by env variable (#7022)

This commit is contained in:
Chris Collins 2023-01-12 12:23:49 -05:00 committed by GitHub
parent ad9a5a1832
commit 6cf16c6921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,7 +192,8 @@ auth.native.enabled = ${?AUTH_NATIVE_ENABLED}
# auth.oidc.enabled = false # (or simply omit oidc configurations)
# Login session expiration time
# auth.session.ttlInHours = ${?AUTH_SESSION_TTL_HOURS}
auth.session.ttlInHours = 720
auth.session.ttlInHours = ${?AUTH_SESSION_TTL_HOURS}
analytics.enabled = ${?DATAHUB_ANALYTICS_ENABLED}