From baf4e39b6ab8cebf1c0696744eddbdba466f41f1 Mon Sep 17 00:00:00 2001 From: asyncnomi Date: Sun, 8 Jan 2023 22:24:12 +0100 Subject: [PATCH] bla --- index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.js b/index.js index 9a2c6d4..84cf65a 100644 --- a/index.js +++ b/index.js @@ -127,6 +127,11 @@ fastify.post('/login', async (request, reply) => { why: "Wrong username or password" } } + } else { + return { + success: false, + why: "Wrong username or password" + } } } else { return {