Fix 'Log in with a device' link focusability

Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan C. Borchardt 2021-04-12 15:01:01 +02:00
parent 294ddf741e
commit bdd5667ff6
No known key found for this signature in database
GPG Key ID: CBD846FC845CBE17
3 changed files with 7 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -46,7 +46,9 @@
{{ t('core', 'Forgot password?') }}
</a>
<br>
<a v-if="hasPasswordless" @click.prevent="passwordlessLogin = true">
<a v-if="hasPasswordless"
href="#"
@click.prevent="passwordlessLogin = true">
{{ t('core', 'Log in with a device') }}
</a>
</div>
@ -61,7 +63,7 @@
:is-https="isHttps"
:has-public-key-credential="hasPublicKeyCredential"
@submit="loading = true" />
<a @click.prevent="passwordlessLogin = false">
<a @click.prevent="passwordlessLogin = false" href="#">
{{ t('core', 'Back') }}
</a>
</div>