From dc9e74bdaf7abcca1d3aca44793ba808274c4e74 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 11 Aug 2024 15:58:06 +0300 Subject: [PATCH] error handling for login --- src/auth/services/user-auth.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/services/user-auth.service.ts b/src/auth/services/user-auth.service.ts index 9d0d804..1f0e7cd 100644 --- a/src/auth/services/user-auth.service.ts +++ b/src/auth/services/user-auth.service.ts @@ -125,7 +125,7 @@ export class UserAuthService { sessionId: session[1].uuid, }); } catch (error) { - throw new BadRequestException('Wrong email, password or region'); + throw new BadRequestException('Invalid credentials'); } }