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