Extended JWT expiry time

This commit is contained in:
Fergal Moran
2015-07-17 23:58:16 +01:00
parent 60907f2db0
commit 013d0f37be
2 changed files with 6 additions and 3 deletions

View File

@@ -220,7 +220,7 @@ SITE_NAME = 'Deep South Sounds'
THUMBNAIL_PREFIX = 'cache/_tn/'
JWT_AUTH = {
'JWT_EXPIRATION_DELTA': timedelta(seconds=1800),
'JWT_EXPIRATION_DELTA': timedelta(seconds=900),
'JWT_ALLOW_REFRESH': True,
'JWT_REFRESH_EXPIRATION_DELTA': timedelta(days=30),
}