瀏覽代碼

JWT is valid during 15 minutes

pull/342/head
Guillaume Vincent 8 年之前
父節點
當前提交
631be216b2
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      lesspass/settings.py

+ 1
- 1
lesspass/settings.py 查看文件

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

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



Loading…
取消
儲存