mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Logout cleans session
This commit is contained in:
parent
9677981344
commit
75009450e7
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue