From 272c9c6ba33fa1b192aaaaa6ee31518a17c950f0 Mon Sep 17 00:00:00 2001 From: John Westcott IV <32551173+john-westcott-iv@users.noreply.github.com> Date: Tue, 26 Nov 2024 09:09:17 -0500 Subject: [PATCH] Update ansible_base/authentication/authenticator_plugins/saml.py Co-authored-by: Brennan Paciorek <50780403+BrennanPaciorek@users.noreply.github.com> --- ansible_base/authentication/authenticator_plugins/saml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible_base/authentication/authenticator_plugins/saml.py b/ansible_base/authentication/authenticator_plugins/saml.py index e277dc647..1d23398dd 100644 --- a/ansible_base/authentication/authenticator_plugins/saml.py +++ b/ansible_base/authentication/authenticator_plugins/saml.py @@ -298,7 +298,7 @@ def extra_data(self, user, backend, response, *args, **kwargs): data = super().extra_data(user, backend, response, *args, **kwargs) # Ideally we would always have a DB instance - # But if something was mocked in a test or somehow a db_instance just wasn't past in we don't want to error here + # But if something was mocked in a test or somehow a db_instance just wasn't passed in we don't want to error here if self.database_instance is None: return data