From bcc92d2c0bccd3348c663e6f9fc78e38cd05811f Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 4 Sep 2023 18:06:08 +0200 Subject: [PATCH] update defaults Signed-off-by: Jens Langhammer --- authentik/stages/authenticator_validate/models.py | 1 + .../AuthenticatorValidateStageForm.ts | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/authentik/stages/authenticator_validate/models.py b/authentik/stages/authenticator_validate/models.py index 702143713..ff0a7397a 100644 --- a/authentik/stages/authenticator_validate/models.py +++ b/authentik/stages/authenticator_validate/models.py @@ -31,6 +31,7 @@ def default_device_classes() -> list: DeviceClasses.WEBAUTHN, DeviceClasses.DUO, DeviceClasses.SMS, + DeviceClasses.MOBILE, ] diff --git a/web/src/admin/stages/authenticator_validate/AuthenticatorValidateStageForm.ts b/web/src/admin/stages/authenticator_validate/AuthenticatorValidateStageForm.ts index 2884f948c..8fc2816e6 100644 --- a/web/src/admin/stages/authenticator_validate/AuthenticatorValidateStageForm.ts +++ b/web/src/admin/stages/authenticator_validate/AuthenticatorValidateStageForm.ts @@ -115,6 +115,12 @@ export class AuthenticatorValidateStageForm extends BaseStageForm ${msg("SMS-based Authenticators")} +

${msg("Device classes which can be used to authenticate.")}