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" 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>

View file

@ -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>

View file

@ -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>