summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew <dev@mtbk.me>2021-07-22 01:33:58 +0000
committerGitHub <noreply@github.com>2021-07-22 01:33:58 +0000
commitc687d9074fa943ec3fec67a6b6ca29896c23c99b (patch)
treeec5fc853c8f48e3c606ab4ca9399f491349a1f21
parentnpm i @fosscord/server-util@1.32 (diff)
downloadserver-c687d9074fa943ec3fec67a6b6ca29896c23c99b.tar.xz
Make password limit 72 to match discord's limit
-rw-r--r--src/routes/auth/login.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/auth/login.ts b/src/routes/auth/login.ts

index 82cefae8..af00a46d 100644 --- a/src/routes/auth/login.ts +++ b/src/routes/auth/login.ts
@@ -15,7 +15,7 @@ router.post( RateLimit({ count: 5, window: 60, onylIp: true }), check({ login: new Length(String, 2, 100), // email or telephone - password: new Length(String, 8, 64), + password: new Length(String, 8, 72), $undelete: Boolean, $captcha_key: String, $login_source: String,