fixing legacy password login

This commit is contained in:
2026-05-20 18:53:57 +02:00
parent 0074355df8
commit 07edfcb71d

View File

@@ -45,7 +45,7 @@ export default (router, tpl) => {
return res.reply({ code: 429, body: msg }); return res.reply({ code: 429, body: msg });
} }
if (!username || !password || password.length < 20) { if (!username || !password) {
return fail("Invalid username or password."); return fail("Invalid username or password.");
} }