Skip to content

Commit

Permalink
stages/identification: don't check source component (#9410)
Browse files Browse the repository at this point in the history
* Do not include the built-in source in this check

Signed-off-by: PythonCoderAS <[email protected]>

* Update authentik/stages/identification/stage.py

Signed-off-by: Jens L. <[email protected]>

---------

Signed-off-by: PythonCoderAS <[email protected]>
Signed-off-by: Jens L. <[email protected]>
Co-authored-by: Jens L <[email protected]>
  • Loading branch information
PythonCoderAS and BeryJu authored Apr 25, 2024
1 parent 541becf commit 5cb8b4c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions authentik/stages/identification/stage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5cb8b4c

Please sign in to comment.