Skip to content
Snippets Groups Projects
Commit 3c00151e authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

Prevent account creation when authenticated

Fix CI
parent da789b7b
No related branches found
No related tags found
No related merge requests found
Pipeline #14165 passed
......@@ -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():
......
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