policies: make policy engine modes consistent with database values (#5462)

* policies: make policy engine modes consistent with database values

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

* fix in ui

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

* fix missing case

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

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L
2023-05-03 18:16:16 +03:00
committed by GitHub
parent da6e74a353
commit 3f607ee2c8
18 changed files with 992 additions and 1058 deletions

View File

@ -47,6 +47,8 @@ export function ProviderToLabel(provider?: ProviderTypeEnum): string {
return t`Generic OpenID Connect`;
case ProviderTypeEnum.Okta:
return "Okta";
case ProviderTypeEnum.Patreon:
return "Patreon";
case ProviderTypeEnum.Reddit:
return "Reddit";
case ProviderTypeEnum.Twitter: