error handling for login

This commit is contained in:
unknown
2024-08-11 15:58:06 +03:00
parent d69634335f
commit dc9e74bdaf

View File

@ -125,7 +125,7 @@ export class UserAuthService {
sessionId: session[1].uuid, sessionId: session[1].uuid,
}); });
} catch (error) { } catch (error) {
throw new BadRequestException('Wrong email, password or region'); throw new BadRequestException('Invalid credentials');
} }
} }