TomatoesBurner / Agile-Web-Community-Forum

0 stars 0 forks source link

Implement password discovery #43

Closed WannianMEI closed 4 months ago

WannianMEI commented 4 months ago
  1. Repair the previous reply post in all users avatar consistent problem, viewed the original view modified jinjia2 code in the parameters.
  2. Added the reset password function. Add a new get my password button in the login page, after clicking it will jump to the new page forgot_password.html, in which you can input your email, if the email does not exist in the background database, it will remain in the original page and will not jump, if it does exist, the page will jump to the new page security_quest. question. In it, you can enter the security question set by the user when registering, and the user needs to enter the answer to the security question, as well as a new password and a confirmation password. Only if the answer to the security question is correct and the two passwords are the same, the password will be reset successfully and the page will automatically jump to the login page.
  3. Add dirty words and sensitive words filtering function. Modified some of the views and created a part of the profanity and sensitive words filtering table. Profanity and sensitive words in usernames, posts and comments will be replaced with ***.