diff --git a/aleksis/core/apps.py b/aleksis/core/apps.py index e5e2d4008c132c24341d26f6532c254167b13741..3b9509868611db995746345a35ff332948ad513f 100644 --- a/aleksis/core/apps.py +++ b/aleksis/core/apps.py @@ -126,10 +126,6 @@ class CoreConfig(AppConfig): super().post_migrate(app_config, verbosity, interactive, using, **kwargs) - # Ensure presence of an OTP YubiKey default config - apps.get_model("otp_yubikey", "ValidationService").objects.using(using).update_or_create( - name="default", defaults={"use_ssl": True, "param_sl": "", "param_timeout": ""} - ) # Ensure that default Favicon object exists for name, default in settings.DEFAULT_FAVICON_PATHS.items(): diff --git a/aleksis/core/frontend/components/two_factor/TwoFactorDevice.vue b/aleksis/core/frontend/components/two_factor/TwoFactorDevice.vue index 7af3fbe6452262e305575b4f7c1852ae79e039c5..ae8b977aa83236c4f77efe91d499ccb1500f0c4c 100644 --- a/aleksis/core/frontend/components/two_factor/TwoFactorDevice.vue +++ b/aleksis/core/frontend/components/two_factor/TwoFactorDevice.vue @@ -31,7 +31,6 @@ const iconMap = { call: "mdi-phone-outline", webauthn: "mdi-key-outline", email: "mdi-email-outline", - yubikey: "mdi-key", }; export default { name: "TwoFactorDevice", diff --git a/aleksis/core/settings.py b/aleksis/core/settings.py index 224947a1c13d38ba0d7ccf28506fda2559614efe..e2d8d46a59e952ac4173c0803c0f50ee14cdb2f8 100644 --- a/aleksis/core/settings.py +++ b/aleksis/core/settings.py @@ -125,7 +125,6 @@ INSTALLED_APPS = [ "django_otp.plugins.otp_static", "django_otp.plugins.otp_email", "django_otp", - "otp_yubikey", "aleksis.core", "allauth", "allauth.account", @@ -143,7 +142,6 @@ INSTALLED_APPS = [ "two_factor", "two_factor.plugins.email", "two_factor.plugins.phonenumber", - "two_factor.plugins.yubikey", "two_factor.plugins.webauthn", "material", "ckeditor", diff --git a/aleksis/core/templates/two_factor/core/setup.html b/aleksis/core/templates/two_factor/core/setup.html index deccda77c3cd14b009ee5ea83654f4d37c6969fc..66f6d8b3ddfe3a627e09ea5b1fb96e80172881ff 100644 --- a/aleksis/core/templates/two_factor/core/setup.html +++ b/aleksis/core/templates/two_factor/core/setup.html @@ -78,15 +78,6 @@ {% endblocktrans %} </figure> {% endif %} - {% elif wizard.steps.current == 'yubikey' %} - <p> - {% blocktrans %} - To identify and verify your YubiKey, please insert a - token in the field below. Your YubiKey will be linked to your - account. - {% endblocktrans %} - </p> - {% endif %} <form action="" method="post"> {% csrf_token %}