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. <jens@beryju.org>
Co-authored-by: PythonCoderAS <13932583+PythonCoderAS@users.noreply.github.com>
Co-authored-by: Jens L <jens@beryju.org>
This commit is contained in:
gcp-cherry-pick-bot[bot]
2024-04-25 11:55:49 +02:00
committed by GitHub
parent 541becfe30
commit 61f3a72fd9

View File

@ -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