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"
|
ref="username"
|
||||||
required
|
required
|
||||||
type="text"
|
type="text"
|
||||||
|
autocomplete="username"
|
||||||
v-focus
|
v-focus
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -32,6 +33,7 @@
|
||||||
ref="password"
|
ref="password"
|
||||||
required
|
required
|
||||||
type="password"
|
type="password"
|
||||||
|
autocomplete="current-password"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
placeholder="e.g. ••••••••••••"
|
placeholder="e.g. ••••••••••••"
|
||||||
required
|
required
|
||||||
type="password"
|
type="password"
|
||||||
|
autocomplete="new-password"
|
||||||
v-focus
|
v-focus
|
||||||
v-model="credentials.password"/>
|
v-model="credentials.password"/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -27,6 +28,7 @@
|
||||||
placeholder="e.g. ••••••••••••"
|
placeholder="e.g. ••••••••••••"
|
||||||
required
|
required
|
||||||
type="password"
|
type="password"
|
||||||
|
autocomplete="new-password"
|
||||||
v-model="credentials.password2"/>
|
v-model="credentials.password2"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
placeholder="e.g. frederick"
|
placeholder="e.g. frederick"
|
||||||
required
|
required
|
||||||
type="text"
|
type="text"
|
||||||
|
autocomplete="username"
|
||||||
v-focus
|
v-focus
|
||||||
v-model="credentials.username"/>
|
v-model="credentials.username"/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -40,6 +41,7 @@
|
||||||
placeholder="e.g. ••••••••••••"
|
placeholder="e.g. ••••••••••••"
|
||||||
required
|
required
|
||||||
type="password"
|
type="password"
|
||||||
|
autocomplete="new-password"
|
||||||
v-model="credentials.password"/>
|
v-model="credentials.password"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -53,6 +55,7 @@
|
||||||
placeholder="e.g. ••••••••••••"
|
placeholder="e.g. ••••••••••••"
|
||||||
required
|
required
|
||||||
type="password"
|
type="password"
|
||||||
|
autocomplete="new-password"
|
||||||
v-model="credentials.password2"/>
|
v-model="credentials.password2"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue