enterprise/stages/source: fix error when creating source stage from blueprint (#9810)

* enterprise/stages/source: fix error when creating source stage from blueprint

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* fix error for pretend user

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* fix unrelated frontend bug

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* cleanup

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L
2024-05-22 18:12:31 +02:00
committed by GitHub
parent ef2e1ad27b
commit 347746cbcd
4 changed files with 8 additions and 6 deletions

View File

@ -49,7 +49,7 @@ export class FlowErrorStage extends BaseStage<FlowErrorChallenge, FlowChallengeR
<ak-empty-state
icon="fa-times"
header=${this.challenge.error
? html`${this.challenge.error}`
? this.challenge.error
: msg("Something went wrong! Please try again later.")}
>
<div slot="body">