hi @lando336, here’s a related topic that discusses this issue and the below sql statement (not php) where the id of 1 is the id of the user in the database table users_secure.
UPDATE users_secure
SET login_fail_counter = 0,
last_update_password = DATE_SUB(NOW(), INTERVAL 1 DAY),
last_update = DATE_SUB(NOW(), INTERVAL 1 DAY)
WHERE id = 1;