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

Call FailedTwoFactorLoginResponse::toResponse with TwoFactorLoginRequest #395

Conversation

ricklambrechts
Copy link
Contributor

With this it is possible to get the challengedUser() within FailedTwoFactorLoginResponse.
Else you must implement your own checks on login.id in the response when you're doing something with the challenged user.

This is also used in:

app(FailedTwoFactorLoginResponse::class)->toResponse($this)

@taylorotwell taylorotwell merged commit 9dee9cf into laravel:1.x Jul 5, 2022
@ricklambrechts ricklambrechts deleted the failed-two-factor-login-response-with-request branch July 5, 2022 21:30
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