diff options
author | eug-vs <eug-vs@keemail.me> | 2020-07-05 13:09:44 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-07-05 13:09:44 +0300 |
commit | b25ddb209fa043499a0ead4f2f150507f4580a22 (patch) | |
tree | 0d64a363807947f6006867d1a9f0df436bc7b166 | |
parent | faa7d45674f3886e8ee8ddd64f7250ae6d0c83f7 (diff) | |
download | which-api-b25ddb209fa043499a0ead4f2f150507f4580a22.tar.gz |
feat: set token expiration to 10 days
-rw-r--r-- | config/default.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/default.json b/config/default.json index 278b076..7d1ef26 100644 --- a/config/default.json +++ b/config/default.json @@ -10,6 +10,9 @@ "local": { "usernameField": "\\username", "passwordField": "password" + }, + "jwtOptions": { + "expiresIn": "10 days" } } } |