diff --git a/cura/OAuth2/AuthorizationService.py b/cura/OAuth2/AuthorizationService.py index ab4ddcebc9..97046e091d 100644 --- a/cura/OAuth2/AuthorizationService.py +++ b/cura/OAuth2/AuthorizationService.py @@ -126,7 +126,7 @@ class AuthorizationService: self._storeAuthData(response) self.onAuthStateChanged.emit(logged_in=True) else: - self.onAuthStateChanged(logged_in = False) + self.onAuthStateChanged.emit(logged_in = False) # Delete the authentication data that we have stored locally (eg; logout) def deleteAuthData(self) -> None: