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

Merge branch 'master' of gitlab.pasteur.fr:bbrancot/django-basetheme-bootstrap

parents 240bdb42 8a6a5271
No related branches found
No related tags found
No related merge requests found
Pipeline #14164 failed
...@@ -50,6 +50,8 @@ def change_password(request): ...@@ -50,6 +50,8 @@ def change_password(request):
def signup(request): def signup(request):
if not request.user.is_anonymous:
return HttpResponseForbidden()
if request.method == 'POST': if request.method == 'POST':
form = UserCreationFormWithMore(request.POST) form = UserCreationFormWithMore(request.POST)
if form.is_valid(): if form.is_valid():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment