Joke Collection Website - Blessing messages - How to implement the password retrieval function in asp.net

How to implement the password retrieval function in asp.net

1. Create a new password retrieval page and enter your username, mobile phone number or email address

2. Answer questions through settings, or send SMS verification, or send an email verification code

3. Compare the user name in the database and the randomly generated verification code to see if they are consistent

4. Reset the password and update the initialization data of the related tables