Skip to content
Snippets Groups Projects
Verified Commit 4365baf0 authored by Pinguin's avatar Pinguin :penguin:
Browse files

Remove 2fa via yubikey

parent 00324c41
No related branches found
No related tags found
1 merge request!1336Resolve "Remove Yubikey support"
Pipeline #155010 failed
......@@ -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():
......
......@@ -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",
......
......@@ -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",
......
......@@ -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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment