mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 07:34:54 +00:00
error handling for login
This commit is contained in:
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user