web/admin: fix missing app passwords backend

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-08-23 16:47:38 +02:00
parent 4cf76fdcda
commit 00e9b91f56
4 changed files with 47 additions and 15 deletions

View File

@ -81,7 +81,15 @@ export class PasswordStageForm extends ModelForm<PasswordStage, string> {
BackendsEnum.DjangoContribAuthBackendsModelBackend,
)}
>
${t`authentik Builtin Database`}
${t`User database + standard password`}
</option>
<option
value=${BackendsEnum.AuthentikCoreTokenAuthTokenBackend}
?selected=${this.isBackendSelected(
BackendsEnum.AuthentikCoreTokenAuthTokenBackend,
)}
>
${t`User database + app passwords`}
</option>
<option
value=${BackendsEnum.AuthentikSourcesLdapAuthLdapBackend}
@ -89,7 +97,7 @@ export class PasswordStageForm extends ModelForm<PasswordStage, string> {
BackendsEnum.AuthentikSourcesLdapAuthLdapBackend,
)}
>
${t`authentik LDAP Backend`}
${t`User database + LDAP password`}
</option>
</select>
<p class="pf-c-form__helper-text">