diff --git a/frontend/src/pages/login.vue b/frontend/src/pages/login.vue index 93cb3b080..d4a5193e9 100644 --- a/frontend/src/pages/login.vue +++ b/frontend/src/pages/login.vue @@ -2,7 +2,7 @@
- {{ description }} + {{ siteDescription }} @@ -59,13 +59,14 @@ export default { name: 'Login', data() { + const c = this.$config.values; + return { loading: false, showPassword: false, username: "admin", password: "", - caption: this.$config.values.siteCaption, - description: this.$config.values.siteDescription, + siteDescription: c.siteDescription ? c.siteDescription : c.siteCaption, nextUrl: this.$route.params.nextUrl ? this.$route.params.nextUrl : "/", rtl: this.$rtl, };