Thanks for your example and code. I don’t see any clean-up of the OtpToken records. Once they have expired for many days it might be tidy to run a query deleting older records. What do you think? Also your verification code only compares the last otp for a given user, the matching token may exist but your code will not see it and explain to the user that it is a matching otp, but it has expired. You could just query for the user and the otp at the same time. Thanks!
Great video. Do you have any videos regarding OTP verification using class-based views? I use class-based views all the time, but never managed to set up email otp. Tnx in advance
This video is dedicated to me ❤❤❤❤❤ Thank you clinton
It is my pleasure, thank you.
This video is the best video i have encountered so far about email verification.
Thank you.
thanks, you just saved me from one of the problems in my final project
@@sheriffsakara6597 you are welcome.
Thanks for your example and code. I don’t see any clean-up of the OtpToken records. Once they have expired for many days it might be tidy to run a query deleting older records. What do you think?
Also your verification code only compares the last otp for a given user, the matching token may exist but your code will not see it and explain to the user that it is a matching otp, but it has expired. You could just query for the user and the otp at the same time. Thanks!
Thank you for your detailed corrections.
Can you login directly once your otp has been confirmed
I am not sure, try and see.
Great video. Do you have any videos regarding OTP verification using class-based views? I use class-based views all the time, but never managed to set up email otp. Tnx in advance
I mostly write function based view.
Thank you so much bro ❤❤❤
You're welcome.
how comes you've not touched on configuring the SMTP server
The video before this was on that.
@@CodeWithClinton gmail smtp settings have changed now, you can no longer use app passwords as a method to send emails, do you know alternatives?
Interesting. Thanks
You're welcome.
@@CodeWithClinton I have a demo of my web app in less than 30 minutes, you have saved me, bless
Can user be locked after inputting wrong OTP codes more than 3 times?
It wasn't included.
Thank you.
you are welcome.
i am facing problem in creating superuser
you shouldn't be.
thank
You're welcome.
can u please share this code ??
The source code is now in the video's description.
Great
Thank you.
please add forget password
okay.
When will you add this feature and upload video