Projet

Général

Profil

0001-auth_saml-remove-useless-credentials-param-30543.patch

Serghei Mihai (congés, retour 15/05), 12 février 2019 11:22

Télécharger (1,07 ko)

Voir les différences:

Subject: [PATCH] auth_saml: remove useless credentials param (#30543)

And so assure compliance with Django 1.11
 src/authentic2_auth_saml/backends.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
src/authentic2_auth_saml/backends.py
28 28

  
29 29

  
30 30
class SAMLBackend(SAMLBackend):
31
    def authenticate(self, saml_attributes, **credentials):
31
    def authenticate(self, saml_attributes):
32 32
        if not app_settings.enable:
33 33
            return None
34
        return super(SAMLBackend, self).authenticate(saml_attributes, **credentials)
34
        return super(SAMLBackend, self).authenticate(saml_attributes)
35 35

  
36 36
    def get_saml2_authn_context(self):
37 37
        # Pass AuthnContextClassRef from the previous IdP
38
-