diff --git a/app/authentification/views.py b/app/authentification/views.py index 7b01a693..83abf37c 100644 --- a/app/authentification/views.py +++ b/app/authentification/views.py @@ -46,4 +46,4 @@ class SignupView(TemplateView): email.send() return render(request, 'validate_mail_address_complete.html') else: - return render(request, self.template_name, {'form': form}) + return render(request, self.template_name, {'form': form, 'allow_signup': bool(settings.ALLOW_SIGNUP)})