Easy Signup with OTP verification and password reset

Hi Syahira,
This is the demo application to show how otp system is working. It’s not a fully working version where if the user has already created account, so it will ask to login instead of create account.

If you want to implement that feature, here is what you can do.
Once the otp is verified and user has successfully saved password, then save a local variable to your tinydb say account_created=true. So when application opens up, check for this variable as first thing, then place your if else accordingly based on this variable.

2 Likes