mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 02:45:55 +08:00
Merge pull request #18602 from wawanbreton/fix_get_user_profile
Do not get user profile by loading auth data
This commit is contained in:
commit
ea96c3512b
@ -305,6 +305,7 @@ class AuthorizationService:
|
|||||||
message_type = Message.MessageType.ERROR)
|
message_type = Message.MessageType.ERROR)
|
||||||
Logger.warning("Unable to get user profile using auth data from preferences.")
|
Logger.warning("Unable to get user profile using auth data from preferences.")
|
||||||
self._unable_to_get_data_message.show()
|
self._unable_to_get_data_message.show()
|
||||||
|
if self._get_user_profile:
|
||||||
self.getUserProfile(callback)
|
self.getUserProfile(callback)
|
||||||
except (ValueError, TypeError):
|
except (ValueError, TypeError):
|
||||||
Logger.logException("w", "Could not load auth data from preferences")
|
Logger.logException("w", "Could not load auth data from preferences")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user