la-chariotte/la_chariotte/accounts
Alexis Métaireau e8d99ea74c fix: send reset emails
At the moment, the email is stored in the `username` field.

Django form-handling looks for the default email
field [0] to find the user email.

If it doesnet find anything, it fails silently
(to avoid leaking information about the users
present in the system, which is a good thing)

The fix was to change the field used to check for the email.

[0] eea4f92f9a/django/contrib/auth/forms.py (L326-L337)
2023-12-21 22:13:21 +00:00
..
migrations customUser with email as username 2023-05-24 13:58:34 +02:00
templates/registration Allow access to signup page 2023-08-17 10:38:50 +02:00
__init__.py set up basic authentication 2023-04-19 18:13:08 +02:00
admin.py customUser with email as username 2023-05-24 13:58:34 +02:00
apps.py set up basic authentication 2023-04-19 18:13:08 +02:00
forms.py customUser with email as username 2023-05-24 13:58:34 +02:00
models.py fix: send reset emails 2023-12-21 22:13:21 +00:00
urls.py Allow access to signup page 2023-08-17 10:38:50 +02:00
views.py customUser with email as username 2023-05-24 13:58:34 +02:00