mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 06:03:57 -06:00
Moved loading of the authentication to the account
CURA-5744
This commit is contained in:
parent
cf6d3b9289
commit
506ec5109d
2 changed files with 2 additions and 3 deletions
|
@ -44,7 +44,7 @@ class Account(QObject):
|
|||
)
|
||||
|
||||
self._authorization_service = AuthorizationService(Application.getInstance().getPreferences(), self._oauth_settings)
|
||||
|
||||
self._authorization_service.loadAuthDataFromPreferences()
|
||||
self._authorization_service.onAuthStateChanged.connect(self._onLoginStateChanged)
|
||||
self._authorization_service.onAuthenticationError.connect(self._onLoginStateChanged)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue