mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Clear analytics on IDE logout
This commit is contained in:
parent
682200db4b
commit
e1b58d709a
@ -108,6 +108,8 @@ define(function(require, exports, module) {
|
||||
}
|
||||
|
||||
function logout(redirect) {
|
||||
emit("logout-analytics");
|
||||
|
||||
redirect = redirect || window.location.href;
|
||||
window.location.href = ideBaseUrl + "/api/nc/logout?redirect=" + encodeURIComponent(redirect);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user