Make password limit 72 to match discord's limit

This commit is contained in:
Matthew 2021-07-22 01:33:58 +00:00 committed by GitHub
parent 3fe2c8bfa8
commit c687d9074f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ router.post(
RateLimit({ count: 5, window: 60, onylIp: true }), RateLimit({ count: 5, window: 60, onylIp: true }),
check({ check({
login: new Length(String, 2, 100), // email or telephone login: new Length(String, 2, 100), // email or telephone
password: new Length(String, 8, 64), password: new Length(String, 8, 72),
$undelete: Boolean, $undelete: Boolean,
$captcha_key: String, $captcha_key: String,
$login_source: String, $login_source: String,