Increase JWT expiration time to 1 week

This commit is contained in:
Jan Tuomi
2019-01-28 21:39:45 +02:00
parent bda342b05b
commit 95c29d8528
+3
View File
@@ -1,5 +1,6 @@
import os import os
import logging import logging
import datetime
from os.path import expanduser from os.path import expanduser
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _
@@ -315,3 +316,5 @@ SUIT_CONFIG = {
# misc # misc
# 'LIST_PER_PAGE': 15 # 'LIST_PER_PAGE': 15
} }
JWT_EXPIRATION_DELTA = datetime.timedelta(days=7)