diff --git a/lib/galaxy/files/__init__.py b/lib/galaxy/files/__init__.py index eb3542982883..b13b2e1db8c8 100644 --- a/lib/galaxy/files/__init__.py +++ b/lib/galaxy/files/__init__.py @@ -476,4 +476,4 @@ def file_sources(self): @property def anonymous(self) -> bool: - return bool(self._kwd.get("username")) + return not bool(self._kwd.get("username"))