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

Accept a closure for forcing 2fa and excluding components #409

Merged
merged 5 commits into from
Jan 14, 2025

Conversation

juliangums
Copy link
Contributor

This way you can use auth()->user() or other things that are not available at boot time in the service provider.
For example I am hiding the password change component for SSO users and am only forcing 2fa for email and password, not for SSO users.

@jeffgreco13 jeffgreco13 merged commit ba0c8f3 into jeffgreco13:2.x Jan 14, 2025
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