From 68ad5ad9782c225cb98c13d66d6e593110ef8a28 Mon Sep 17 00:00:00 2001 From: gumi Date: Sun, 12 Apr 2020 16:36:16 -0400 Subject: the max password length for evol2 is actually still 23 --- src/routers/vault/utils/validate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routers/vault/utils/validate.js b/src/routers/vault/utils/validate.js index 3432d30..3632fd1 100644 --- a/src/routers/vault/utils/validate.js +++ b/src/routers/vault/utils/validate.js @@ -18,7 +18,7 @@ const regexes = { /** tmwa password */ any23: /^[^\s][^\t\r\n]{2,21}[^\s]$/, /** hercules password */ - any30: /^[^\s][^\t\r\n]{6,28}[^\s]$/, + any30: /^[^\s][^\t\r\n]{6,21}[^\s]$/, // this could be increased if we modify manaplus /** username */ alnum23: /^\w{4,23}$/i, /** tmwa/hercules GID */ -- cgit v1.2.3-60-g2f50