Wrong error message when user having is_staff=False tries to login to admin
|Reported by:||arty||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Steps to reproduce:
- Create a user with is_staff=False
- Logout and go to /admin/
- Try to log in using that user's credentials
Error message would say: "Please enter a correct username and password. Note that both fields are case-sensitive."
This message is wrong, because username and password are correct. Proper message should be something like "You do not have permissions to enter admin area."
Change History (5)
comment:1 Changed 6 years ago by
|Patch needs improvement:||unset|
|Status:||new → closed|