diff options
| author | Ho3ein <ho3ein.sanaei@gmail.com> | 2023-05-13 12:48:36 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-13 12:48:36 +0300 |
| commit | 5468069befd602a7ae51deb5b76150ee16d426d6 (patch) | |
| tree | a41b4492b37e52e033b2f4e027da05ce8893ae50 /web/html/login.html | |
| parent | 3bec9ee2737d0a8c49f4d705f1d8c8925bb8a2a8 (diff) | |
| parent | 0cce35784eb2ab8ce42e88bdf63e0284254d2e14 (diff) | |
Merge pull request #420 from hamid-gh98/main
[fix] russia domains in settings and More....
Diffstat (limited to 'web/html/login.html')
| -rw-r--r-- | web/html/login.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/html/login.html b/web/html/login.html index 1b6478de..a2bde74f 100644 --- a/web/html/login.html +++ b/web/html/login.html @@ -46,7 +46,7 @@ </style> <body> -<a-layout id="app" v-cloak :class="themeSwitcher.darkClass"> +<a-layout id="app" v-cloak :class="themeSwitcher.darkCardClass"> <transition name="list" appear> <a-layout-content> <a-row type="flex" justify="center"> @@ -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() { @@ -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() { |
