mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-03-01 01:20:49 +03:00
[FIX] bug logout path
This commit is contained in:
parent
0e266b88f0
commit
55d38dfa48
@ -335,7 +335,7 @@
|
|||||||
this.loading(false);
|
this.loading(false);
|
||||||
if (msg.success) {
|
if (msg.success) {
|
||||||
this.user = {};
|
this.user = {};
|
||||||
window.location.replace("/logout")
|
window.location.replace(basePath + "logout")
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async restartPanel() {
|
async restartPanel() {
|
||||||
@ -369,7 +369,7 @@
|
|||||||
const msg = await HttpUtil.post("/xui/setting/updateUserSecret", this.user);
|
const msg = await HttpUtil.post("/xui/setting/updateUserSecret", this.user);
|
||||||
if (msg.success) {
|
if (msg.success) {
|
||||||
this.user = msg.obj;
|
this.user = msg.obj;
|
||||||
window.location.replace("/logout")
|
window.location.replace(basePath + "logout")
|
||||||
}
|
}
|
||||||
this.loading(false);
|
this.loading(false);
|
||||||
await this.updateAllSetting();
|
await this.updateAllSetting();
|
||||||
|
Loading…
Reference in New Issue
Block a user