Implement more advanced 2FA library
This commit is contained in:
@@ -94,7 +94,7 @@ class Signup(CreateView):
|
||||
def get(self, request, *args, **kwargs):
|
||||
if not settings.REGISTRATION_OPEN:
|
||||
return render(request, "registration/registration_closed.html")
|
||||
super().get(request, *args, **kwargs)
|
||||
return super().get(request, *args, **kwargs)
|
||||
|
||||
|
||||
class Portal(LoginRequiredMixin, View):
|
||||
|
||||
Reference in New Issue
Block a user