mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 02:36:19 +00:00
added otp handling user
This commit is contained in:
@ -230,7 +230,7 @@ export class UserAuthService {
|
||||
email: data.email,
|
||||
},
|
||||
});
|
||||
if (user) {
|
||||
if (!user) {
|
||||
throw new BadRequestException('this email is not registered');
|
||||
}
|
||||
throw new BadRequestException('You entered wrong otp');
|
||||
|
Reference in New Issue
Block a user