Browse Source

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.

pull/250/head
Guillim 5 years ago
parent
commit
57f8097b80
1 changed files with 1 additions and 1 deletions
  1. 2
      app/authentification/views.py

2
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)})
Loading…
Cancel
Save