backends: add request argument to authenticate (fixes #30541)
For Django 1.11 compatibility.
This commit is contained in:
parent
b0ddc85486
commit
3d449b7928
|
@ -19,7 +19,7 @@ from . import utils
|
|||
|
||||
|
||||
class SAMLBackend(ModelBackend):
|
||||
def authenticate(self, saml_attributes):
|
||||
def authenticate(self, saml_attributes, request=None):
|
||||
# without an issuer we can do nothing
|
||||
if 'issuer' not in saml_attributes:
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue