From 61f3a72fd9f272fb9c1dfb866598bdb60fc50513 Mon Sep 17 00:00:00 2001 From: "gcp-cherry-pick-bot[bot]" <98988430+gcp-cherry-pick-bot[bot]@users.noreply.github.com> Date: Thu, 25 Apr 2024 11:55:49 +0200 Subject: [PATCH] stages/identification: don't check source component (cherry-pick #9410) (#9420) stages/identification: don't check source component (#9410) * Do not include the built-in source in this check * Update authentik/stages/identification/stage.py --------- Signed-off-by: PythonCoderAS <13932583+PythonCoderAS@users.noreply.github.com> Signed-off-by: Jens L. Co-authored-by: PythonCoderAS <13932583+PythonCoderAS@users.noreply.github.com> 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 ed61e8adad..8be41825d5 100644 --- a/authentik/stages/identification/stage.py +++ b/authentik/stages/identification/stage.py @@ -237,8 +237,6 @@ class IdentificationStageView(ChallengeStageView): ) 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