Fix a small bug related to return state when determining valid user on

the socket io service
This commit is contained in:
Matthew Jones 2014-10-27 14:52:01 -04:00
parent 7b113f4924
commit 43ecfc0a87

View File

@ -84,7 +84,7 @@ class JobEventNamespace(TowerBaseNamespace):
def get_initial_acl(self):
valid_user = self.valid_user()
if valid_user is None:
if valid_user is None or valid_user is False:
return set()
else:
user_jobs = get_user_queryset(valid_user, Job).filter(finished__isnull=True)