From 46205f7395465af670dd8c0d13d88c25f62df192 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 22 Jul 2022 21:56:17 +0000 Subject: [PATCH] update todo --- apps/api/src/routes/api/v1/handlers.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/api/src/routes/api/v1/handlers.ts b/apps/api/src/routes/api/v1/handlers.ts index bb94149a5..69dd9b468 100644 --- a/apps/api/src/routes/api/v1/handlers.ts +++ b/apps/api/src/routes/api/v1/handlers.ts @@ -155,7 +155,6 @@ export async function login(request: FastifyRequest, reply: FastifyReply) } if (userFound) { if (userFound.type === 'email') { - // TODO: Review this one if (userFound.password === 'RESETME') { const hashedPassword = await hashPassword(password); if (userFound.updatedAt < new Date(Date.now() - 1000 * 60 * 10)) {