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

[2.x] Dispatch Event when Two Factor Challenged #239

Merged
merged 2 commits into from
Mar 17, 2021

Conversation

danclaytondev
Copy link
Contributor

For security reasons it is a good idea to log when a user successfully uses their credentials, and is two factor challenged, particularly when the 2nd factor is not passed, which suggests a password has been compromised.

This is summarised by the OWASP here.

This PR continues what has been merged from #162 and adds the event and modifies a test to check it is dispatched.

@taylorotwell taylorotwell merged commit b490728 into laravel:master Mar 17, 2021
joelbutcher pushed a commit to joelbutcher/fortify that referenced this pull request Jan 7, 2022
* dispatch event when two factor challenged and test

* use statements styleci

(cherry picked from commit b490728)
taylorotwell pushed a commit that referenced this pull request Jan 7, 2022
* [2.x] Events for Two Factor Authentication (#162)

* added events

* dispatch events

* added tests for events

* Style CI fixes

* rename events

* fix usages

(cherry picked from commit 8105a1a)

* [2.x] Dispatch Event when Two Factor Challenged (#239)

* dispatch event when two factor challenged and test

* use statements styleci

(cherry picked from commit b490728)

Co-authored-by: danclaytondev <daniel@cl8on.co.uk>
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