From 456941323bbe3d3fd080e8a721e44a659a095610 Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> Date: Fri, 12 May 2023 21:59:41 +0430 Subject: await secret status in login page --- web/html/login.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/html/login.html') diff --git a/web/html/login.html b/web/html/login.html index 1b6478de..ea298168 100644 --- a/web/html/login.html +++ b/web/html/login.html @@ -120,10 +120,10 @@ secretEnable: false, lang: "" }, - created() { + async created() { this.updateBackground(); this.lang = getLang(); - this.secretEnable = this.getSecretStatus(); + this.secretEnable = await this.getSecretStatus(); }, methods: { async login() { -- cgit v1.2.3 From b0871a6ef650e3776fd0f76799e698c20bed1fd2 Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> Date: Fri, 12 May 2023 22:36:05 +0430 Subject: Change route path '/xui' to '/panel' --- web/html/login.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/html/login.html') diff --git a/web/html/login.html b/web/html/login.html index ea298168..dcb2f1ff 100644 --- a/web/html/login.html +++ b/web/html/login.html @@ -131,7 +131,7 @@ const msg = await HttpUtil.post('/login', this.user); this.loading = false; if (msg.success) { - location.href = basePath + 'xui/'; + location.href = basePath + 'panel/'; } }, async getSecretStatus() { -- cgit v1.2.3 From 0cce35784eb2ab8ce42e88bdf63e0284254d2e14 Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> Date: Sat, 13 May 2023 00:52:12 +0430 Subject: FIX Login UI style --- web/html/login.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/html/login.html') diff --git a/web/html/login.html b/web/html/login.html index dcb2f1ff..a2bde74f 100644 --- a/web/html/login.html +++ b/web/html/login.html @@ -46,7 +46,7 @@
-