mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-17 03:05:13 +00:00
Merge pull request #78 from SyncrowIOT/SP-342-implement-region-end-point-in-the-login
error handling for login
This commit is contained in:
@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user