diff options
| author | Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> | 2023-05-12 20:29:41 +0300 |
|---|---|---|
| committer | Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> | 2023-05-12 21:15:30 +0300 |
| commit | 456941323bbe3d3fd080e8a721e44a659a095610 (patch) | |
| tree | 60218cc2970f8c3338559c776717bef20673ae49 /web | |
| parent | a6a77688dc4919b0966d7da98aee16fb7e0b1131 (diff) | |
await secret status in login page
Diffstat (limited to 'web')
| -rw-r--r-- | web/html/login.html | 4 |
1 files changed, 2 insertions, 2 deletions
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() { |
