Skip to content
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

Support confirmPassword false for 2FA #1464

Closed
wants to merge 1 commit into from
Closed

Support confirmPassword false for 2FA #1464

wants to merge 1 commit into from

Conversation

Suven
Copy link

@Suven Suven commented Mar 30, 2024

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

@crynobone crynobone changed the title support confirmPassword false for 2FA #1463 Support confirmPassword false for 2FA Mar 31, 2024
@crynobone crynobone linked an issue Mar 31, 2024 that may be closed by this pull request
@taylorotwell
Copy link
Member

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.

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.

confirmPassword-config currently broken
2 participants