Skip to content

Commit

Permalink
Fix 'Log in with a device' link focusability
Browse files Browse the repository at this point in the history
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
  • Loading branch information
jancborchardt authored and npmbuildbot-nextcloud[bot] committed Apr 13, 2021
1 parent 225eaab commit fb588f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/js/dist/login.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/js/dist/login.js.map

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions core/src/views/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit fb588f4

Please sign in to comment.