Lengthened token expiry

This commit is contained in:
Fergal Moran
2016-01-29 21:49:54 +00:00
parent 943507e04a
commit 1fd3df5488
2 changed files with 2 additions and 1 deletions

View File

@@ -212,7 +212,7 @@ THUMBNAIL_PREFIX = '_tn/'
# THUMBNAIL_STORAGE = 'storages.backends.azure_storage.AzureStorage'
JWT_AUTH = {
'JWT_EXPIRATION_DELTA': timedelta(seconds=900),
'JWT_EXPIRATION_DELTA': timedelta(seconds=(60 * 60 * 24) * 14),
# 'JWT_EXPIRATION_DELTA': timedelta(seconds=5),
'JWT_ALLOW_REFRESH': True,
'JWT_REFRESH_EXPIRATION_DELTA': timedelta(days=30),