Add autocomplete attributes to login and register forms
This commit is contained in:
parent
4be7e12cb6
commit
b94c835af0
3 changed files with 7 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue