Skip to content

Disable two factor authentication confirm button when form is processing #1573

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

coreyhn
Copy link
Contributor

@coreyhn coreyhn commented Apr 19, 2025

In the Inertia stack, disable the two factor authentication confirmation button when the confirmationForm is processing. This prevents the button from being submitted while a request is already in progress.

Before:
inertia-disable-two-factor-authentication-confirm-button-before

After:
inertia-disable-two-factor-authentication-confirm-button-after

The Livewire stack already has this behavior:
livewire-disable-two-factor-authentication-confirm-button

@taylorotwell taylorotwell merged commit 0ce161d into laravel:5.x Apr 21, 2025
10 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants