mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Removed the this_is_the_login_form hack
Refs #21911. Now that we have a more traditional login form, we don't need any more a special field telling us we are dealing with the login form.
This commit is contained in:
@@ -870,6 +870,10 @@ where any unauthorized request to an admin page will be redirected (by HTTP
|
||||
status code 302) to the login page, with the ``next`` parameter set to the
|
||||
referring path. The user will be redirected there after a successful login.
|
||||
|
||||
Note also that the admin login form has been updated to not contain the
|
||||
``this_is_the_login_form`` field (now unused) and the ``ValidationError`` code
|
||||
has been set to the more regular ``invalid_login`` key.
|
||||
|
||||
Miscellaneous
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user