aboutsummaryrefslogtreecommitdiff
path: root/config/default.json
diff options
context:
space:
mode:
authorEugene Sokolov <eug-vs@keemail.me>2020-07-05 13:38:33 +0300
committerGitHub <noreply@github.com>2020-07-05 13:38:33 +0300
commit96398e544463651413ea80821c09ae7573f46cb1 (patch)
treedf77b6f65247d87dbfde8000e918c83985624fc3 /config/default.json
parentda76bb1bd8797c4e1dc657c489f597bf64918ceb (diff)
parent1c2f3c9e5b39826266d64f4227e53fff139ea948 (diff)
downloadwhich-api-96398e544463651413ea80821c09ae7573f46cb1.tar.gz
Merge pull request #17 from which-ecosystem/security
Prepare release-level backend security
Diffstat (limited to 'config/default.json')
-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"
}
}
}