Fix rendering of login headline

Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
Christopher Ng 2022-11-08 01:05:43 +00:00
parent 0dabc6abc6
commit b92a774c47
3 changed files with 5 additions and 4 deletions

View file

@ -52,7 +52,7 @@
<!-- the following div ensures that the spinner is always inside the #message div -->
<div style="clear: both;" />
</div>
<h2 class="login-form__headline">{{ t('core', 'Log in to {productName}', { productName: OC.theme.name }) }}</h2>
<h2 class="login-form__headline" v-html="headline" />
<NcTextField id="user"
ref="user"
:label="t('core', 'Account name or email')"
@ -159,6 +159,7 @@ export default {
loading: false,
timezone: jstz.determine().name(),
timezoneOffset: (-new Date().getTimezoneOffset() / 60),
headline: t('core', 'Log in to {productName}', { productName: OC.theme.name }),
user: '',
password: '',
}

4
dist/core-login.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long