Closed (fixed)
Project:
One Time Password
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Nov 2017 at 02:55 UTC
Updated:
8 Feb 2018 at 06:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sam152 commentedI think we should register a hit against "user.failed_login_user" when the OTP is incorrect and let the user login form protect against further login attempts.
Comment #3
sam152 commentedDoing #2 properly looks pretty complicated.
Comment #4
sam152 commentedComment #5
sam152 commentedComment #6
sam152 commentedComment #7
sam152 commentedI'm not sure this is correct. In theory you could login and logout with all correct credentials 5 times in an hour and hit the flood control.
Comment #8
sam152 commentedFixing #7.
Comment #9
kim.pepperCan we inject these services?
Comment #10
sam152 commentedFraid not, the method is a form validation callback so it needs to be static.
Comment #12
sam152 commentedComment #13
sam152 commented