fix: Add brute force protection to form endpoints #2269
46.00% of diff hit (target 43.40%)
View this Pull Request on Codecov
46.00% of diff hit (target 43.40%)
Annotations
Check warning on line 47 in lib/AppInfo/Application.php
codecov / codecov/patch
lib/AppInfo/Application.php#L47
Added line #L47 was not covered by tests
Check warning on line 235 in lib/Controller/ApiController.php
codecov / codecov/patch
lib/Controller/ApiController.php#L235
Added line #L235 was not covered by tests
Check warning on line 608 in lib/Controller/ApiController.php
codecov / codecov/patch
lib/Controller/ApiController.php#L605-L608
Added lines #L605 - L608 were not covered by tests
Check warning on line 682 in lib/Controller/ApiController.php
codecov / codecov/patch
lib/Controller/ApiController.php#L679-L682
Added lines #L679 - L682 were not covered by tests
Check warning on line 1209 in lib/Controller/ApiController.php
codecov / codecov/patch
lib/Controller/ApiController.php#L1209
Added line #L1209 was not covered by tests
Check warning on line 1637 in lib/Controller/ApiController.php
codecov / codecov/patch
lib/Controller/ApiController.php#L1634-L1637
Added lines #L1634 - L1637 were not covered by tests
Check warning on line 1640 in lib/Controller/ApiController.php
codecov / codecov/patch
lib/Controller/ApiController.php#L1639-L1640
Added lines #L1639 - L1640 were not covered by tests
Check warning on line 1646 in lib/Controller/ApiController.php
codecov / codecov/patch
lib/Controller/ApiController.php#L1646
Added line #L1646 was not covered by tests
Check warning on line 24 in lib/Middleware/ThrottleFormAccessMiddleware.php
codecov / codecov/patch
lib/Middleware/ThrottleFormAccessMiddleware.php#L22-L24
Added lines #L22 - L24 were not covered by tests
Check warning on line 32 in lib/Middleware/ThrottleFormAccessMiddleware.php
codecov / codecov/patch
lib/Middleware/ThrottleFormAccessMiddleware.php#L27-L32
Added lines #L27 - L32 were not covered by tests