*/ function elgg_fail2ban_init() { // Replace login elgg_register_action('login', dirname(__FILE__) . '/actions/login.php', 'public'); } elgg_register_event_handler('init','system','elgg_fail2ban_init');