#3087 closed enhancement (wontfix)
[patch] users which are not staff try login into admin - provide better error message
Description ¶
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)
by , 18 years ago
Attachment: | patch.diff added |
---|
comment:1 by , 18 years ago
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 |
---|
comment:2 by , 18 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
It's intentional that the error message is the same for both cases. It's a bit of security by obscurity.