update defaults

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-09-04 18:06:08 +02:00
parent 50df8e4530
commit bcc92d2c0b
No known key found for this signature in database
2 changed files with 7 additions and 0 deletions

View File

@ -31,6 +31,7 @@ def default_device_classes() -> list:
DeviceClasses.WEBAUTHN, DeviceClasses.WEBAUTHN,
DeviceClasses.DUO, DeviceClasses.DUO,
DeviceClasses.SMS, DeviceClasses.SMS,
DeviceClasses.MOBILE,
] ]

View File

@ -115,6 +115,12 @@ export class AuthenticatorValidateStageForm extends BaseStageForm<AuthenticatorV
> >
${msg("SMS-based Authenticators")} ${msg("SMS-based Authenticators")}
</option> </option>
<option
value=${DeviceClassesEnum.Mobile}
?selected=${this.isDeviceClassSelected(DeviceClassesEnum.Mobile)}
>
${msg("Mobile Authenticators")}
</option>
</select> </select>
<p class="pf-c-form__helper-text"> <p class="pf-c-form__helper-text">
${msg("Device classes which can be used to authenticate.")} ${msg("Device classes which can be used to authenticate.")}