Browse Source

changing delta to 7 days lesspass/lesspass#94 (#3)

pull/342/head
philip-ulrich 7 years ago
committed by Guillaume Vincent
parent
commit
4f5d2214b3
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=60),
'JWT_EXPIRATION_DELTA': datetime.timedelta(days=7),
'JWT_ALLOW_REFRESH': True, 'JWT_ALLOW_REFRESH': True,
} }




Loading…
Cancel
Save