aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-07-05 13:09:44 +0300
committereug-vs <eug-vs@keemail.me>2020-07-05 13:09:44 +0300
commitb25ddb209fa043499a0ead4f2f150507f4580a22 (patch)
tree0d64a363807947f6006867d1a9f0df436bc7b166
parentfaa7d45674f3886e8ee8ddd64f7250ae6d0c83f7 (diff)
downloadwhich-api-b25ddb209fa043499a0ead4f2f150507f4580a22.tar.gz
feat: set token expiration to 10 days
-rw-r--r--config/default.json3
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"
}
}
}