Skip to content

Commit

Permalink
Delete a session after 7 days of user inactivity.
Browse files Browse the repository at this point in the history
  • Loading branch information
msshopsys committed Jun 11, 2020
1 parent 16ea3d4 commit ab1fb6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions project-base/config/packages/snc_redis.yaml
Expand Up @@ -36,4 +36,5 @@ snc_redis:
dsn: 'redis://%redis_host%'
session:
client: 'session'
ttl: 604800 # Sessions expires after 7 days
prefix: '%env(REDIS_PREFIX)%session:'

0 comments on commit ab1fb6b

Please sign in to comment.