diff --git a/cura/OAuth2/AuthorizationService.py b/cura/OAuth2/AuthorizationService.py index c9f60ddf2d..fb2ba40c71 100644 --- a/cura/OAuth2/AuthorizationService.py +++ b/cura/OAuth2/AuthorizationService.py @@ -89,6 +89,9 @@ class AuthorizationService: self.deleteAuthData() if callback is not None: callback(None) + else: + if callback is not None: + callback(None) self._parseJWT(callback = store_profile)