mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 03:49:00 +08: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
@ -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…
x
Reference in New Issue
Block a user