diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/components/login/LoginForm.vue | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/src/components/login/LoginForm.vue b/core/src/components/login/LoginForm.vue index 910675b499a..f9034dfe409 100644 --- a/core/src/components/login/LoginForm.vue +++ b/core/src/components/login/LoginForm.vue @@ -26,7 +26,7 @@ name="login" :action="loginActionUrl" @submit="submit"> - <fieldset class="login-form__fieldset"> + <fieldset class="login-form__fieldset" data-login-form> <NcNoteCard v-if="apacheAuthFailed" :title="t('core', 'Server side authentication failed!')" type="warning"> @@ -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" v-html="headline" /> + <h2 class="login-form__headline" data-login-form-headline v-html="headline" /> <NcTextField id="user" ref="user" :label="t('core', 'Account name or email')" @@ -64,6 +64,7 @@ :spellchecking="false" :autocomplete="autoCompleteAllowed ? 'username' : 'off'" required + data-login-form-input-user @change="updateUsername" /> <NcPasswordField id="password" @@ -78,9 +79,10 @@ :label="t('core', 'Password')" :helper-text="errorLabel" :error="isError" + data-login-form-input-password required /> - <LoginButton :loading="loading" /> + <LoginButton data-login-form-submit :loading="loading" /> <input v-if="redirectUrl" type="hidden" |