Fix stupid mistake (signals need an emit, not a direct call)

CURA-6278
This commit is contained in:
Jaime van Kessel 2019-03-11 10:46:41 +01:00
parent e53eb70cad
commit 50999a075e

View File

@ -126,7 +126,7 @@ class AuthorizationService:
self._storeAuthData(response)
self.onAuthStateChanged.emit(logged_in=True)
else:
self.onAuthStateChanged(logged_in = False)
self.onAuthStateChanged.emit(logged_in = False)
# Delete the authentication data that we have stored locally (eg; logout)
def deleteAuthData(self) -> None: