From e0ea4558068179328a34f452ed1b21795d1a6130 Mon Sep 17 00:00:00 2001 From: Vincent Hatakeyama Date: Tue, 28 Jan 2025 10:13:33 +0100 Subject: [PATCH] [FIX] auth_saml: message indicates that a key is found incorrectly The message is incorrect, the log is done when the attribute key is not found. --- auth_saml/models/auth_saml_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth_saml/models/auth_saml_provider.py b/auth_saml/models/auth_saml_provider.py index 4b323b7c26..f1c0cb0de8 100644 --- a/auth_saml/models/auth_saml_provider.py +++ b/auth_saml/models/auth_saml_provider.py @@ -357,7 +357,7 @@ def _hook_validate_auth_response(self, response, matching_value): for attribute in self.attribute_mapping_ids: if attribute.attribute_name not in attrs: _logger.debug( - "SAML attribute '%s' found in response %s", + "SAML attribute '%s' not found in response %s", attribute.attribute_name, attrs, )