[patch] users which are not staff try login into admin - provide better error message
|Reported by:||Owned by:||Adrian Holovaty|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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)
comment:1 Changed 10 years ago by
|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|