mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -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() {
|
}, ApiClient.prototype.logout = function() {
|
||||||
stopBitrateDetection(this), this.closeWebSocket();
|
stopBitrateDetection(this), this.closeWebSocket();
|
||||||
var done = function() {
|
var done = function() {
|
||||||
|
appStorage.removeItem("user-" + this._currentUser.Id + "-" + this._currentUser.ServerId)
|
||||||
this.setAuthenticationInfo(null, null)
|
this.setAuthenticationInfo(null, null)
|
||||||
}.bind(this);
|
}.bind(this);
|
||||||
if (this.accessToken()) {
|
if (this.accessToken()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user