mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
Add missing return
We're calling back that there is no auth data, so we should stop here and not try to obtain a user profile. Contributes to issue CURA-8539.
This commit is contained in:
parent
ffb891fb69
commit
1636cca601
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ class AuthorizationService:
|
|||
# If no auth data exists, we should always log in again.
|
||||
Logger.debug("There was no auth data or access token")
|
||||
callback(None)
|
||||
return
|
||||
|
||||
# When we checked the token we may get a user profile. This callback checks if that is a valid one and tries to refresh the token if it's not.
|
||||
def check_user_profile(user_profile):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue