Skip to content

Commit cbe4693

Browse files
committed
fix: request passkey immediately, when adminuser with existing passkey want's to login, so adminuser don't have to do extra click
https://web.tracklify.com/project/2b7ZVgE5/AdminForth/1216/R6JOBScd/we-need-to-request-passkey-imm
1 parent 43e1f69 commit cbe4693

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

custom/TwoFactorsConfirmation.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@
200200
if ( newRoute.hash === '#passkey' ) {
201201
cancelPendingWebAuthn('switch-to-passkey');
202202
confirmationMode.value = 'passkey';
203+
usePasskeyButton();
203204
} else if ( newRoute.hash === '#code' ) {
204205
cancelPendingWebAuthn('switch-to-code');
205206
confirmationMode.value = 'code';

0 commit comments

Comments
 (0)