1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #2550 -- Allow the auth backends to raise the PermissionDenied exception to completely stop the authentication chain. Many thanks to namn, danielr, Dan Julius, Łukasz Rekucki, Aashu Dwivedi and umbrae for working this over the years.

This commit is contained in:
Jannis Leidel
2012-11-17 20:24:54 +01:00
parent 7058b595b6
commit 1520748dac
4 changed files with 52 additions and 2 deletions

View File

@@ -17,6 +17,12 @@ deprecation process for some features`_.
What's new in Django 1.6
========================
Minor features
~~~~~~~~~~~~~~
* Authentication backends can raise ``PermissionDenied`` to immediately fail
the authentication chain.
Backwards incompatible changes in 1.6
=====================================