def849ac11a4bd322ba8a09dd5b17c0cac82fe1c
Changed countRecentFailedAttempts() to use MySQL DATE_SUB(NOW(), INTERVAL ? MINUTE) instead of PHP-calculated cutoff time. This ensures consistent datetime comparison on the database server without timezone mismatches between PHP and MySQL. This fixes the issue where the AND attempted_at condition was filtering out all recent attempts due to timestamp comparison inconsistencies.
Description
No description provided
Languages
PHP
61.8%
CSS
26.1%
Sass
5.5%
HTML
4.4%
JavaScript
1.1%
Other
1.1%