You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update: it does work, if I set AXES_USERNAME_FORM_FIELD = "email"
Is it possible to check for USERNAME_FIELD so that you don't have to additionally set this?
Describe the bug
We have a custom user model which uses an email field as username
If I set
and try to login, I get the console output:
Expected behavior
email is used as the username
Your environment
python version: 3.12
django version: 4.2.7
django-axes version: 6.1.1
Operating system: MacOS 14.1
Additional context
Before I tried it with ipware which works perfectly.
The text was updated successfully, but these errors were encountered: