Skip to content
Snippets Groups Projects
Commit 9c3e978a authored by ynerant's avatar ynerant
Browse files

🐛 Fix signup

parent 21f1347a
No related branches found
No related tags found
3 merge requests!104Beta,!98Morefront,!91Documents
Pipeline #8343 passed with warnings with stages
in 5 minutes and 8 seconds
......@@ -39,7 +39,7 @@ class UserCreateView(CreateView):
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["profile_form"] = self.second_form(self.request.POST)
context["profile_form"] = self.second_form(self.request.POST if self.request.POST else None)
del context["profile_form"].fields["section"]
return context
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment