From 46b1ea1f63b40e0c0cd48e84b722d26ed1b262c8 Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Fri, 25 Nov 2016 15:06:55 +0100 Subject: [PATCH] raise to 60 minutes validity for JWT --- lesspass/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lesspass/settings.py b/lesspass/settings.py index 1207653..ed6de9b 100644 --- a/lesspass/settings.py +++ b/lesspass/settings.py @@ -121,7 +121,7 @@ LOGGING = { AUTH_USER_MODEL = 'api.LessPassUser' JWT_AUTH = { - 'JWT_EXPIRATION_DELTA': datetime.timedelta(minutes=15), + 'JWT_EXPIRATION_DELTA': datetime.timedelta(minutes=60), 'JWT_ALLOW_REFRESH': True, }