From 5cb8b4c9c25054173ca32f7d4f11b1c6bf02fc57 Mon Sep 17 00:00:00 2001 From: PythonCoderAS <13932583+PythonCoderAS@users.noreply.github.com> Date: Thu, 25 Apr 2024 09:55:38 +0000 Subject: [PATCH] stages/identification: don't check source component (#9410) * Do not include the built-in source in this check Signed-off-by: PythonCoderAS <13932583+PythonCoderAS@users.noreply.github.com> * Update authentik/stages/identification/stage.py Signed-off-by: Jens L. --------- Signed-off-by: PythonCoderAS <13932583+PythonCoderAS@users.noreply.github.com> Signed-off-by: Jens L. Co-authored-by: Jens L --- authentik/stages/identification/stage.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/authentik/stages/identification/stage.py b/authentik/stages/identification/stage.py index ed61e8adad5c..8be41825d547 100644 --- a/authentik/stages/identification/stage.py +++ b/authentik/stages/identification/stage.py @@ -237,8 +237,6 @@ def get_challenge(self) -> Challenge: ) for source in sources: ui_login_button = source.ui_login_button(self.request) - if source.component == "": - continue if ui_login_button: button = asdict(ui_login_button) source_challenge = ui_login_button.challenge