From 3d449b79285b257472f39c7116cd515fcf67dbdd Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 12 Feb 2019 09:43:34 +0100 Subject: [PATCH 2/2] backends: add request argument to authenticate (fixes #30541) For Django 1.11 compatibility. --- mellon/backends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mellon/backends.py b/mellon/backends.py index 2fb7159..f43c462 100644 --- a/mellon/backends.py +++ b/mellon/backends.py @@ -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 -- 2.20.1