Add autocomplete attributes to login and register forms

This commit is contained in:
kolaente 2020-11-02 23:41:18 +01:00
parent 4be7e12cb6
commit b94c835af0
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
3 changed files with 7 additions and 0 deletions

View file

@ -17,6 +17,7 @@
ref="username"
required
type="text"
autocomplete="username"
v-focus
/>
</div>
@ -32,6 +33,7 @@
ref="password"
required
type="password"
autocomplete="current-password"
/>
</div>
</div>

View file

@ -13,6 +13,7 @@
placeholder="e.g. ••••••••••••"
required
type="password"
autocomplete="new-password"
v-focus
v-model="credentials.password"/>
</div>
@ -27,6 +28,7 @@
placeholder="e.g. ••••••••••••"
required
type="password"
autocomplete="new-password"
v-model="credentials.password2"/>
</div>
</div>

View file

@ -13,6 +13,7 @@
placeholder="e.g. frederick"
required
type="text"
autocomplete="username"
v-focus
v-model="credentials.username"/>
</div>
@ -40,6 +41,7 @@
placeholder="e.g. ••••••••••••"
required
type="password"
autocomplete="new-password"
v-model="credentials.password"/>
</div>
</div>
@ -53,6 +55,7 @@
placeholder="e.g. ••••••••••••"
required
type="password"
autocomplete="new-password"
v-model="credentials.password2"/>
</div>
</div>