Skip to content
Snippets Groups Projects
Commit f71a7dee authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Bugfix

parent af6f0f35
Branches
Tags
No related merge requests found
......@@ -450,7 +450,7 @@ def create_task(request):
task.access_method = request.POST.get('access_method', None)
# Cheks
if len(task.auth_pass) < 6:
if task.auth_pass and len(task.auth_pass) < 6:
raise ErrorMessage('Task password must be at least 6 chars')
# Computing options # TODO: This is hardcoded thinking about Slurm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment