I want to create a password reset functionality where users can create a new password in case they forget it.
I don’t want to use the normal procedure where a reset link will be sent to the user’s email address.
What I want to achieve:
I want to send a code which the user will enter to proceed to the password reset page where there will be asked to enter a new password. The code needs to be verified to check if its valid.
Any thoughts will be appreciated