pycontw / pycon.tw

PyCon TW Proposal System & Backend Server
https://tw.pycon.org/prs
MIT License
95 stars 107 forks source link

fix(users): Fix reset password #1005

Closed setmao closed 3 years ago

setmao commented 3 years ago

Types of changes

Thanks for sending a pull request! Please fill in the following content to let us know better about this change. Please put an x in the box that applies

Description

Replace url() to path(), remove unused import and legacy code.

Steps to Test This Pull Request

Steps to reproduce the behavior:

  1. Go to 'http://localhost:8000/en-us/accounts/password-reset/'.
  2. Input the email you want to reset password.
  3. Go to inbox open the reset password email.

Expected behavior

Should see the reset password url is complete. (look like this: http://localhost:8000/en-us/accounts/%5Epassword-reset/Mg/al66fj-8162ce391503f44a92ca5a425ef48bcc/)