UX: Use siteCaption as fallback in login form
This commit is contained in:
parent
d66f59b623
commit
bb402e2ee9
1 changed files with 4 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
<div class="p-page p-page-login">
|
<div class="p-page p-page-login">
|
||||||
<v-toolbar flat color="secondary" dense class="mb-3" :height="42">
|
<v-toolbar flat color="secondary" dense class="mb-3" :height="42">
|
||||||
<v-toolbar-title class="subheading">
|
<v-toolbar-title class="subheading">
|
||||||
{{ description }}
|
{{ siteDescription }}
|
||||||
</v-toolbar-title>
|
</v-toolbar-title>
|
||||||
</v-toolbar>
|
</v-toolbar>
|
||||||
<v-form ref="form" dense autocomplete="off" class="p-form-login" accept-charset="UTF-8" @submit.prevent="login">
|
<v-form ref="form" dense autocomplete="off" class="p-form-login" accept-charset="UTF-8" @submit.prevent="login">
|
||||||
|
@ -59,13 +59,14 @@
|
||||||
export default {
|
export default {
|
||||||
name: 'Login',
|
name: 'Login',
|
||||||
data() {
|
data() {
|
||||||
|
const c = this.$config.values;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
loading: false,
|
loading: false,
|
||||||
showPassword: false,
|
showPassword: false,
|
||||||
username: "admin",
|
username: "admin",
|
||||||
password: "",
|
password: "",
|
||||||
caption: this.$config.values.siteCaption,
|
siteDescription: c.siteDescription ? c.siteDescription : c.siteCaption,
|
||||||
description: this.$config.values.siteDescription,
|
|
||||||
nextUrl: this.$route.params.nextUrl ? this.$route.params.nextUrl : "/",
|
nextUrl: this.$route.params.nextUrl ? this.$route.params.nextUrl : "/",
|
||||||
rtl: this.$rtl,
|
rtl: this.$rtl,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue