Hello everyone, I do not understand how to implement the “Forgot Password” function
1 user wants to reset password enters phone number
2 he receives an SMS confirmation code
Then I don’t know what to do, I need to auto-authorize it and then redirect it to the password change page, but I can’t authorize the number, I take it using “Input” and I can’t take the password from the database for authorization
so that the base understands that the password of this number needs to be substituted for the number
Does anyone know how to implement this, or is there another way to implement “Forgot Password”?