diff --git a/matemat/webserver/pagelets/userbootstrap.py b/matemat/webserver/pagelets/userbootstrap.py index 2dbbaf5..e5d6940 100644 --- a/matemat/webserver/pagelets/userbootstrap.py +++ b/matemat/webserver/pagelets/userbootstrap.py @@ -20,7 +20,8 @@ def userbootstrap(): # Process submission if request.method == 'POST': # Make sure all required values are present - if 'username' not in request.params or 'password' not in request.params or 'password2' not in request.params: + if 'username' not in request.params or 'password' not in request.params \ + or 'password2' not in request.params: abort(400, 'Some arguments are missing') username: str = str(request.params.username) password: str = str(request.params.password)