From ec9671a42908586a05357e5386b737a6c7752354 Mon Sep 17 00:00:00 2001 From: Matthew Date: Thu, 22 Jul 2021 01:35:24 +0000 Subject: [PATCH] Update register.ts --- src/routes/auth/register.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/auth/register.ts b/src/routes/auth/register.ts index 25c7b3dd..41798552 100644 --- a/src/routes/auth/register.ts +++ b/src/routes/auth/register.ts @@ -16,8 +16,8 @@ router.post( check({ username: new Length(String, 2, 32), // TODO: check min password length in config - // prevent Denial of Service with max length of 64 chars - password: new Length(String, 8, 64), + // prevent Denial of Service with max length of 72 chars + password: new Length(String, 8, 72), consent: Boolean, $email: new Length(Email, 5, 100), $fingerprint: String,