mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-10-31 15:50:03 +01:00 
			
		
		
		
	🐛 Fix signup
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user