diff --git a/backend/workspaces/models.py b/backend/workspaces/models.py index 1b0050c8..0a10113e 100644 --- a/backend/workspaces/models.py +++ b/backend/workspaces/models.py @@ -90,6 +90,8 @@ def set_workspace_password(self, password): self.save() def match_workspace_password(self, password): + if not self.workspace_password: + return False return check_password(password, self.workspace_password) @staticmethod