web: fix build (#5327)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L
2023-04-20 19:48:56 +03:00
committed by GitHub
parent 34e9af57fe
commit 948b83a2b2
9 changed files with 14 additions and 14 deletions

View File

@ -193,7 +193,7 @@ export class PromptStage extends BaseStage<PromptChallenge, PromptChallengeRespo
// Only show debug locale if debug mode is enabled
if (locale.code === "debug") {
return rootInterface()?.config?.capabilities.includes(
CapabilitiesEnum.Debug,
CapabilitiesEnum.CanDebug,
);
}
return true;