1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #12103 -- Added AuthenticationForm.confirm_login_allowed to allow customizing the logic policy.

Thanks ejucovy and lasko for work on the patch.
This commit is contained in:
Tim Graham
2013-07-30 08:24:13 -04:00
parent 1c3c21b38d
commit a1889397a9
4 changed files with 93 additions and 5 deletions

View File

@@ -101,6 +101,10 @@ Minor features
:class:`~django.middleware.http.ConditionalGetMiddleware` to handle
conditional ``GET`` requests for sitemaps which set ``lastmod``.
* You can override the new :meth:`AuthenticationForm.confirm_login_allowed()
<django.contrib.auth.forms.AuthenticationForm.confirm_login_allowed>` method
to more easily customize the login policy.
Backwards incompatible changes in 1.7
=====================================