From 57f8097b805b186578ba7b0cd57679dc05461394 Mon Sep 17 00:00:00 2001 From: Guillim Date: Wed, 19 Jun 2019 15:02:58 +0200 Subject: [PATCH] it's a small fix: when there was an error in the signup form, the redirection to signup was without allow_signup, wich triggered a weird "you can't singup" message. --- app/authentification/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)})