mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 23:19:01 +08:00
Always callback if there is a callback, even if no auth data
Because not having auth data is a reason to return no profile too. Otherwise the other side might wait for a response for a long time. Contributes to issue CURA-8539.
This commit is contained in:
parent
1636cca601
commit
30d19844f2
@ -89,6 +89,9 @@ class AuthorizationService:
|
||||
self.deleteAuthData()
|
||||
if callback is not None:
|
||||
callback(None)
|
||||
else:
|
||||
if callback is not None:
|
||||
callback(None)
|
||||
|
||||
self._parseJWT(callback = store_profile)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user