mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 10:24:53 +00:00
added check if OPT is verification
This commit is contained in:
@ -136,7 +136,7 @@ export class UserAuthService {
|
|||||||
}
|
}
|
||||||
: undefined,
|
: undefined,
|
||||||
email: data.email,
|
email: data.email,
|
||||||
isUserVerified: true,
|
isUserVerified: data.type === OtpType.PASSWORD ? true : undefined,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
if (!userExists) {
|
if (!userExists) {
|
||||||
|
|||||||
Reference in New Issue
Block a user