[patch] users which are not staff try login into admin - provide better error message
currently if a user tries to login to the admin site and they aren't is_staff they are prompted with the standard error "Please enter a correct username and password." this patch instead prompts them with the message that they don't have the permission to access the site.
we use this on our site, because wondering users have "stumbled" upon the admin log in.
Change History
(4)
Summary: |
users which are not staff try login into admin - provide better error message → [patch] users which are not staff try login into admin - provide better error message
|
Resolution: |
→ wontfix
|
Status: |
new → closed
|
It's intentional that the error message is the same for both cases. It's a bit of security by obscurity.