added check if OPT is verification

This commit is contained in:
unknown
2024-08-11 14:29:13 +03:00
parent 176276ef05
commit 9c58bb8b25

View File

@ -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) {