Merge pull request #241 from DrPandemic/logout-clean-session

Fix logout session storage
This commit is contained in:
Anthony Lavado
2019-04-29 23:50:35 -04:00
committed by GitHub
+1
View File
@@ -303,6 +303,7 @@ define(["events", "appStorage"], function(events, appStorage) {
}, ApiClient.prototype.logout = function() {
stopBitrateDetection(this), this.closeWebSocket();
var done = function() {
appStorage.removeItem("user-" + this._currentUser.Id + "-" + this._currentUser.ServerId)
this.setAuthenticationInfo(null, null)
}.bind(this);
if (this.accessToken()) {