diff --git a/apps/infoalloggi/biome.json b/apps/infoalloggi/biome.json index 9960411..fe9f392 100644 --- a/apps/infoalloggi/biome.json +++ b/apps/infoalloggi/biome.json @@ -4,8 +4,7 @@ "actions": { "source": { "organizeImports": "on", - "useSortedAttributes": "on", - "useSortedKeys": "on" + "useSortedAttributes": "on" } }, "enabled": true diff --git a/apps/infoalloggi/src/server/controllers/auth.controller.ts b/apps/infoalloggi/src/server/controllers/auth.controller.ts index b38de42..64c3c71 100644 --- a/apps/infoalloggi/src/server/controllers/auth.controller.ts +++ b/apps/infoalloggi/src/server/controllers/auth.controller.ts @@ -107,6 +107,7 @@ export const logIn = async ({ const user = await findUser_byEmail({ email }); if (!user) { + console.error("User not found in login for email:", email); throw new TRPCError({ code: "NOT_FOUND", message: "Errore in Login: Utente non trovato",