mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Merge pull request #241 from DrPandemic/logout-clean-session
Fix logout session storage
This commit is contained in:
commit
d33d0ea3e3
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user