Skip to content

Commit 0ce161d

Browse files
authored
Disable two factor authentication confirm button when form is processing (#1573)
1 parent 13d78c9 commit 0ce161d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stubs/inertia/resources/js/Pages/Profile/Partials/TwoFactorAuthenticationForm.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ const disableTwoFactorAuthentication = () => {
202202
v-if="confirming"
203203
type="button"
204204
class="me-3"
205-
:class="{ 'opacity-25': enabling }"
206-
:disabled="enabling"
205+
:class="{ 'opacity-25': enabling || confirmationForm.processing }"
206+
:disabled="enabling || confirmationForm.processing"
207207
>
208208
Confirm
209209
</PrimaryButton>

0 commit comments

Comments
 (0)