From a30561b31bdfec2aea4ec812a2933b49c6f2fd75 Mon Sep 17 00:00:00 2001 From: Kibi Kelburton Date: Wed, 13 Aug 2025 22:22:33 +0000 Subject: [PATCH] revert 334db9e7663e77166032db536359b4f93c2d4d6d revert taninos katze --- src/inc/routes/admin.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inc/routes/admin.mjs b/src/inc/routes/admin.mjs index 3a44808..af1f67a 100644 --- a/src/inc/routes/admin.mjs +++ b/src/inc/routes/admin.mjs @@ -26,9 +26,9 @@ export default (router, tpl) => { limit 1 `; if(user.length === 0) - return res.status(401).reply({ body: "user doesn't exist or wrong password" }); + return res.reply({ body: "user doesn't exist or wrong password" }); if(!(await lib.verify(req.post.password, user[0].password))) - return res.status(401).reply({ body: "user doesn't exist or wrong password" }); + return res.reply({ body: "user doesn't exist or wrong password" }); const stamp = ~~(Date.now() / 1e3); await db`