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
63%
CSS
25.4%
Sass
5.4%
HTML
4.3%
Hack
0.9%
Other
1%