diff --git a/InvenTree/InvenTree/forms.py b/InvenTree/InvenTree/forms.py index 01acaac652..edeec8cb01 100644 --- a/InvenTree/InvenTree/forms.py +++ b/InvenTree/InvenTree/forms.py @@ -292,9 +292,7 @@ class CustomUrlMixin: return Site.objects.get_current().domain + url -class CustomAccountAdapter( - CustomUrlMixin, RegistratonMixin, OTPAdapter, DefaultAccountAdapter -): +class CustomAccountAdapter(CustomUrlMixin, RegistratonMixin, DefaultAccountAdapter): """Override of adapter to use dynamic settings.""" def send_mail(self, template_prefix, email, context):