Add even more logging to the auth service

This commit is contained in:
Jaime van Kessel 2019-04-24 16:44:13 +02:00
parent 46403a0fde
commit b2e2f088c4

View file

@ -130,6 +130,7 @@ class AuthorizationService:
self._storeAuthData(response)
self.onAuthStateChanged.emit(logged_in = True)
else:
Logger.log("w", "Failed to get a new access token from the server.")
self.onAuthStateChanged.emit(logged_in = False)
## Delete the authentication data that we have stored locally (eg; logout)