Skip to content

Commit 7c3811c

Browse files
authored
Update TwoFactorSetupModal.vue
1 parent 17f4ec7 commit 7c3811c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

resources/js/components/TwoFactorSetupModal.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,11 @@ const modalConfig = computed<{ title: string; description: string; buttonText: s
5454
const handleModalNextStep = () => {
5555
if (props.requiresConfirmation) {
5656
showVerificationStep.value = true;
57+
5758
nextTick(() => {
5859
pinInputContainerRef.value?.querySelector('input')?.focus();
5960
});
61+
6062
return;
6163
}
6264
@@ -68,6 +70,7 @@ const resetModalState = () => {
6870
if (props.twoFactorEnabled) {
6971
clearSetupData();
7072
}
73+
7174
showVerificationStep.value = false;
7275
code.value = [];
7376
};

0 commit comments

Comments
 (0)