Fortify, as well as the Jetstreams 2FA component class has code that supports skipping the password confirmation, if set in the according configuration via a feature-flag.
The current implementation of the livewire view however, does not respect that config.
This admittedly naive approach fixes this.
The feature is especially useful for applications that don't make use of passwords (for example because they are using business SSO but still want to enforce 2FA)
I don't think we ever really meant this to be disabled. It was only added for backwards compatibility at the time. I suggest just removing stuff from your stubs if you want to disable it.
Fortify, as well as the Jetstreams 2FA component class has code that supports skipping the password confirmation, if set in the according configuration via a feature-flag.
The current implementation of the livewire view however, does not respect that config.
This admittedly naive approach fixes this.
The feature is especially useful for applications that don't make use of passwords (for example because they are using business SSO but still want to enforce 2FA)
This adresses issue #1463