From 0f7e2da58bb68b87f2e0359cbdd5f2a745f16be0 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 7 Mar 2017 22:31:05 +0100 Subject: [PATCH] fix SAMLBackend signature (fixes #15606) --- src/authentic2_auth_saml/backends.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/authentic2_auth_saml/backends.py b/src/authentic2_auth_saml/backends.py index 61bad4e..02d9e6a 100644 --- a/src/authentic2_auth_saml/backends.py +++ b/src/authentic2_auth_saml/backends.py @@ -6,10 +6,10 @@ from . import app_settings class SAMLBackend(SAMLBackend): - def authenticate(self, **credentials): + def authenticate(self, saml_attributes, **credentials): if not app_settings.enable: return None - return super(SAMLBackend, self).authenticate(**credentials) + return super(SAMLBackend, self).authenticate(saml_attributes, **credentials) def get_saml2_authn_context(self): # Pass AuthnContextClassRef from the previous IdP -- 2.1.4