Use SQL query to purge login attempt
The current purge is done using the ORM with a delete(search()) but if there are a lot of attempts this can be quite slow.
I think we should use a SQL query just like we do to remove attempt on success login.
The current purge is done using the ORM with a delete(search()) but if there are a lot of attempts this can be quite slow.
I think we should use a SQL query just like we do to remove attempt on success login.