Skip to content

Commit

Permalink
feat(auth): Allow session ttl to be configurable by env variable (dat…
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscollins3456 authored and Eric Yomi committed Jan 18, 2023
1 parent 1238930 commit 2c8f0a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion datahub-frontend/conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 2c8f0a3

Please sign in to comment.