mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
STAR-322: Fixing the multipart upload
This commit is contained in:
parent
fed779d0d2
commit
4dc8edb996
6 changed files with 105 additions and 80 deletions
|
@ -54,6 +54,8 @@ class AuthorizationService:
|
|||
self._user_profile = self._parseJWT()
|
||||
if not self._user_profile:
|
||||
# If there is still no user profile from the JWT, we have to log in again.
|
||||
Logger.log("w", "The user profile could not be loaded. The user must log in again!")
|
||||
self.deleteAuthData()
|
||||
return None
|
||||
|
||||
return self._user_profile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue