Commit 56975960 by Kálmán Viktor

dashboard: fix super call

parent 905f484d
Pipeline #204 passed with stage
in 0 seconds
......@@ -589,7 +589,7 @@ class EnableTwoFactorView(LoginRequiredMixin, UpdateView):
"ready enabled for your account."))
return redirect(reverse("dashboard.index"))
return super().dispatch(*args, **kwargs)
return super(EnableTwoFactorView, self).dispatch(*args, **kwargs)
def get_object(self, queryset=None):
if self.request.user.is_anonymous():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment