Merge pull request #18602 from wawanbreton/fix_get_user_profile

Do not get user profile by loading auth data
This commit is contained in:
Remco Burema 2024-03-14 12:48:04 +01:00 committed by GitHub
commit ea96c3512b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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")