Browse Source

raise to 60 minutes validity for JWT

pull/342/head
Guillaume Vincent 8 years ago
parent
commit
46b1ea1f63
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lesspass/settings.py

+ 1
- 1
lesspass/settings.py View File

@@ -121,7 +121,7 @@ LOGGING = {
AUTH_USER_MODEL = 'api.LessPassUser' AUTH_USER_MODEL = 'api.LessPassUser'


JWT_AUTH = { JWT_AUTH = {
'JWT_EXPIRATION_DELTA': datetime.timedelta(minutes=15),
'JWT_EXPIRATION_DELTA': datetime.timedelta(minutes=60),
'JWT_ALLOW_REFRESH': True, 'JWT_ALLOW_REFRESH': True,
} }




Loading…
Cancel
Save