mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 16:57:51 -06:00
Added account object to API
CURA-5744
This commit is contained in:
parent
060ea0b762
commit
b54383e685
3 changed files with 93 additions and 1 deletions
|
@ -49,6 +49,7 @@ class AuthorizationService:
|
|||
if not self._user_profile:
|
||||
# If there is still no user profile from the JWT, we have to log in again.
|
||||
return None
|
||||
|
||||
return self._user_profile
|
||||
|
||||
def _parseJWT(self) -> Optional["UserProfile"]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue