-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Log failed twofactor authentication #37401
Log failed twofactor authentication #37401
Conversation
Please add a changelog, you will find a template here: https://github.com/owncloud/core/tree/master/changelog |
Done. |
@micbar or ? |
LGTM! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be sure that all failed two-factor authentications logged, imho, writing this log from TwoFactorAuthManager
is better. Also, commits should be squashed before the merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution. The code changes look good. There are small problems left.
The base commit is pretty old, I guess that's why Codecov could not calculate the coverage. We need to rebase the branch to the top of the current master. Also, instead of 5 commits, please squash them as 1 meaningful commit when rebasing.
If you need any help, do not hesitate to ping me.
Codecov Report
@@ Coverage Diff @@
## master #37401 +/- ##
=========================================
Coverage 64.67% 64.67%
Complexity 19339 19339
=========================================
Files 1279 1279
Lines 75569 75572 +3
Branches 1331 1331
=========================================
+ Hits 48876 48879 +3
Misses 26301 26301
Partials 392 392
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #37401 +/- ##
=========================================
Coverage 64.67% 64.67%
Complexity 19339 19339
=========================================
Files 1279 1279
Lines 75569 75572 +3
Branches 1331 1331
=========================================
+ Hits 48876 48879 +3
Misses 26301 26301
Partials 392 392
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #37401 +/- ##
=========================================
Coverage 64.67% 64.67%
Complexity 19339 19339
=========================================
Files 1279 1279
Lines 75569 75573 +4
Branches 1331 1331
=========================================
+ Hits 48876 48880 +4
Misses 26301 26301
Partials 392 392
Continue to review full report at Codecov.
|
That is the log that appears. I guess it is enough info, but just to confirm. |
Description
Log failed twofactor authentication
Related Issue
Motivation and Context
Possible log analysis of failed twofactor authentication
Types of changes
Checklist: