We can add a field called isEmailVerfied in user and if it is not verified, when they login we can mail the otp and verify. Create a seperate function for this.
Do this only for PRM role
In the existing forgot password page, we can remove password and verify otp only.
We can add a field called isEmailVerfied in user and if it is not verified, when they login we can mail the otp and verify. Create a seperate function for this.
Do this only for PRM role
In the existing forgot password page, we can remove password and verify otp only.