Commit 3c00151e authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

Prevent account creation when authenticated

Fix CI
parent da789b7b
Pipeline #14165 passed with stage
in 22 seconds
......@@ -50,8 +50,6 @@ def change_password(request):
def signup(request):
if not request.user.is_anonymous:
return HttpResponseForbidden()
if request.method == 'POST':
form = UserCreationFormWithMore(request.POST)
if form.is_valid():
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment