aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 311d371a7..3da06402c 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -502,6 +502,7 @@ let PRIVATE_RSA_KEY_SIZE = 2048
502const BCRYPT_SALT_SIZE = 10 502const BCRYPT_SALT_SIZE = 10
503 503
504const USER_PASSWORD_RESET_LIFETIME = 60000 * 60 // 60 minutes 504const USER_PASSWORD_RESET_LIFETIME = 60000 * 60 // 60 minutes
505const USER_PASSWORD_CREATE_LIFETIME = 60000 * 60 * 24 * 7 // 7 days
505 506
506const USER_EMAIL_VERIFY_LIFETIME = 60000 * 60 // 60 minutes 507const USER_EMAIL_VERIFY_LIFETIME = 60000 * 60 // 60 minutes
507 508
@@ -764,6 +765,7 @@ export {
764 LRU_CACHE, 765 LRU_CACHE,
765 JOB_REQUEST_TIMEOUT, 766 JOB_REQUEST_TIMEOUT,
766 USER_PASSWORD_RESET_LIFETIME, 767 USER_PASSWORD_RESET_LIFETIME,
768 USER_PASSWORD_CREATE_LIFETIME,
767 MEMOIZE_TTL, 769 MEMOIZE_TTL,
768 USER_EMAIL_VERIFY_LIFETIME, 770 USER_EMAIL_VERIFY_LIFETIME,
769 OVERVIEWS, 771 OVERVIEWS,