Copybara bot | be50d49 | 2023-11-30 00:16:42 +0100 | [diff] [blame] | 1 | <?php |
2 | require_once(__DIR__."/../core.php"); | ||||
3 | |||||
4 | if (php_sapi_name() != "cli") { | ||||
5 | security::notFound(); | ||||
6 | exit(); | ||||
7 | } | ||||
8 | |||||
9 | echo "=======================\n"; | ||||
10 | echo "cleansigninattempts.php\n"; | ||||
11 | echo "=======================\n\n"; | ||||
12 | |||||
13 | if (security::cleanSignInAttempts()) { | ||||
14 | echo "[info] The action was performed successfully.\n"; | ||||
15 | } else { | ||||
16 | echo "[error] An error occurred.\n"; | ||||
17 | } |