    public function clean()
    {
        $dataSourceConfig = ConnectionManager::getDataSource('default')->config;
        $dataSource = $dataSourceConfig['datasource'];
        if ($dataSource == 'Database/Mysql') {
            $sql = 'DELETE FROM bruteforces WHERE `expire` <= NOW();';
        } elseif ($dataSource == 'Database/Postgres') {
            $sql = 'DELETE FROM bruteforces WHERE expire <= NOW();';
        }
        $this->query($sql);
    }