From 85b60c1f283ca28a68415c97a9d367c3f1b548d0 Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Thu, 14 Mar 2024 11:17:12 +0100 Subject: [PATCH] Do not get user profile by loading auth data --- cura/OAuth2/AuthorizationService.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cura/OAuth2/AuthorizationService.py b/cura/OAuth2/AuthorizationService.py index 4e8d28173a..e62e00a793 100644 --- a/cura/OAuth2/AuthorizationService.py +++ b/cura/OAuth2/AuthorizationService.py @@ -305,7 +305,8 @@ class AuthorizationService: message_type = Message.MessageType.ERROR) Logger.warning("Unable to get user profile using auth data from preferences.") self._unable_to_get_data_message.show() - self.getUserProfile(callback) + if self._get_user_profile: + self.getUserProfile(callback) except (ValueError, TypeError): Logger.logException("w", "Could not load auth data from preferences")