upkbs-chronobiology / somnus

Main application managing sleep log data
MIT License
0 stars 0 forks source link

Extend authentication expiry period #47

Closed CedricReichenbach closed 5 years ago

CedricReichenbach commented 5 years ago

Currently, it seems to be 12 hours, which seems way too short. Set it to something like 30 days.

Docs: https://www.silhouette.rocks/docs/config-authenticators Source: https://github.com/mohiva/play-silhouette/blob/master/silhouette/app/com/mohiva/play/silhouette/impl/authenticators/BearerTokenAuthenticator.scala

Change config in: https://github.com/upkbs-chronobiology/somnus/blob/7f493d4df466eb338c2bbbc83cf55a36494c15d3/app/modules/SilhouetteModule.scala

CedricReichenbach commented 5 years ago

Perhaps differentiate based on environment (app vs. web), or let user set a tick ("keep me logged in").