diff options
Diffstat (limited to 'animism-align/cli/app/server/web.py')
| -rw-r--r-- | animism-align/cli/app/server/web.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/animism-align/cli/app/server/web.py b/animism-align/cli/app/server/web.py index af0c2d9..cf63c3d 100644 --- a/animism-align/cli/app/server/web.py +++ b/animism-align/cli/app/server/web.py @@ -40,7 +40,7 @@ def create_app(script_info=None): app.config['JWT_SECRET_KEY'] = app_cfg.TOKEN_SECRET app.config['JWT_AUTH_URL_RULE'] = '/api/v1/auth/login' # app.config['JWT_VERIFY_EXPIRATION'] = False - app.config['EXPIRATION_DELTA'] = timedelta(days=365 * 10) + app.config['JWT_ACCESS_TOKEN_EXPIRES'] = timedelta(days=365 * 10) app.url_map.strict_slashes = False db.init_app(app) |
