mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 07:34:54 +00:00
Merge pull request #76 from SyncrowIOT/SP-340-implement-send-otp-endpoint
added check if OPT is verification
This commit is contained in:
@ -148,7 +148,7 @@ export class UserAuthService {
|
||||
}
|
||||
: undefined,
|
||||
email: data.email,
|
||||
isUserVerified: true,
|
||||
isUserVerified: data.type === OtpType.PASSWORD ? true : undefined,
|
||||
},
|
||||
});
|
||||
if (!userExists) {
|
||||
|
||||
Reference in New Issue
Block a user