Skip to content

Commit

Permalink
fix: added autocomplete fields for login
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile committed Nov 13, 2023
1 parent de5db85 commit 7125623
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/views/LoginView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,17 @@ async function handleLogin() {
v-model="username"
:invalid-message="validationMessage != undefined ? $t(validationMessage) : ''"
:label="$t('login_form.username')"
autocomplete="username"
autofocus
required
/>
<NeTextInput v-model="password" :label="$t('login_form.password')" is-password required />
<NeTextInput
v-model="password"
:label="$t('login_form.password')"
autocomplete="current-password"
is-password
required
/>
<NeCheckbox :label="$t('login_form.remember_me')" />
</div>
<NeButton :disabled="loading" :loading="loading" class="w-full" kind="primary" type="submit">
Expand Down

0 comments on commit 7125623

Please sign in to comment.