diff --git a/django/trancendence/accounts/views.py b/django/trancendence/accounts/views.py index b65efb9..041140b 100644 --- a/django/trancendence/accounts/views.py +++ b/django/trancendence/accounts/views.py @@ -18,7 +18,7 @@ class Register(View): return HttpResponse("error: password invalid") username = request.POST.get("username") if (username == None or len(username) < 3): - return HttpResponse("error: password invalid") + return HttpResponse("error: username invalid") if User.objects.filter(username=username).exists(): return HttpResponse("error: username already used")