]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/initializers/constants.ts
Feature/password reset link expiration (#2305)
[github/Chocobozzz/PeerTube.git] / server / initializers / constants.ts
index 7e26176536320c1d69850e9bcfb315caff683fed..79fcd0edf5aeab242766359d8249922c646cb875 100644 (file)
@@ -486,7 +486,7 @@ let PRIVATE_RSA_KEY_SIZE = 2048
 // Password encryption
 const BCRYPT_SALT_SIZE = 10
 
-const USER_PASSWORD_RESET_LIFETIME = 60000 * 5 // 5 minutes
+const USER_PASSWORD_RESET_LIFETIME = 60000 * 60 // 60 minutes
 
 const USER_EMAIL_VERIFY_LIFETIME = 60000 * 60 // 60 minutes