mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-29 23:34:32 +08:00
Fix stupid mistake (signals need an emit, not a direct call)
CURA-6278
This commit is contained in:
parent
e53eb70cad
commit
50999a075e
@ -126,7 +126,7 @@ class AuthorizationService:
|
|||||||
self._storeAuthData(response)
|
self._storeAuthData(response)
|
||||||
self.onAuthStateChanged.emit(logged_in=True)
|
self.onAuthStateChanged.emit(logged_in=True)
|
||||||
else:
|
else:
|
||||||
self.onAuthStateChanged(logged_in = False)
|
self.onAuthStateChanged.emit(logged_in = False)
|
||||||
|
|
||||||
# Delete the authentication data that we have stored locally (eg; logout)
|
# Delete the authentication data that we have stored locally (eg; logout)
|
||||||
def deleteAuthData(self) -> None:
|
def deleteAuthData(self) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user