await secret status in login page

This commit is contained in:
Hamidreza Ghavami 2023-05-12 21:59:41 +04:30
parent a6a77688dc
commit 456941323b
No known key found for this signature in database
GPG Key ID: 402C6797325182D9

View File

@ -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() {