Not getting otp at reregistration of a user

When i delete a user from the table database, user cant get the otp again in his new registration from that same mail.
How can i fix this or how can i setup a fresh database.

I check the demo app … i registered the user with e-mail and logged in with OTP … now i deleted the same user from the mobile admin panel … and then logged in again using the same email …

the user is able to login again with the same email … and the otp is working also !

You dont need to setup a fresh database … you can simply consider

  1. deleting the table Email_verification_codes …
  2. Delete the user row from the user_table
  3. And restart the app using terminal command …

this should solve your problem …

1 Like