diff --git a/services/webapp/code/rosetta/base_app/views.py b/services/webapp/code/rosetta/base_app/views.py
index c8a3e2e82d745aba6d7c888d9f07ff08bdc969dc..5a4d6532309fa66255745164c23af49c91b3636f 100644
--- a/services/webapp/code/rosetta/base_app/views.py
+++ b/services/webapp/code/rosetta/base_app/views.py
@@ -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