You are using old verification method based on otp, prefer using verification link sending.
- Once a user register directly let them access their Dashboard.
- Unless they verify their email address they can't purchase courses or create new courses.
- This will allow your project to people can use for their own purpose.
You are using old verification method based on otp, prefer using verification link sending.