diff --git a/api/tacticalrmm/core/consumers.py b/api/tacticalrmm/core/consumers.py index 23bb4440..1c56f311 100644 --- a/api/tacticalrmm/core/consumers.py +++ b/api/tacticalrmm/core/consumers.py @@ -41,9 +41,11 @@ class DashInfo(AsyncJsonWebsocketConsumer): if isinstance(self.user, AnonymousUser): await self.close() + return if self.user.block_dashboard_login: await self.close() + return await self.accept() self.connected = True