web/flows: fix challenge type
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -172,7 +172,7 @@ export class FlowExecutor extends LitElement implements StageHost { | ||||
|         if (!this.challenge) { | ||||
|             return html``; | ||||
|         } | ||||
|         switch (this.challenge.type) { | ||||
|         switch (this.challenge.type.toUpperCase()) { | ||||
|             case ChallengeTypeEnum.Redirect: | ||||
|                 console.debug("authentik/flows: redirecting to url from server", (this.challenge as RedirectChallenge).to); | ||||
|                 window.location.assign((this.challenge as RedirectChallenge).to); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer