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

Fix Exception when sending empty 2FA confirmation code #361

Merged
merged 2 commits into from
Feb 22, 2022

Conversation

miguilimzero
Copy link
Contributor

This pull request prevents the user to send an empty confirm code and throw an exception to the code.

The following exception occurr if you try to confirm the two factor with an empty field:

image

@miguilimzero miguilimzero changed the title Update ConfirmTwoFactorAuthentication.php Fix Exception when sending empty 2FA confirmation code Feb 22, 2022
@taylorotwell taylorotwell merged commit 585fa6e into laravel:1.x Feb 22, 2022
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.

None yet

2 participants