My custom authentication plugin will not fail no matter what I try. I'm certain that the plugin is enabled and that it is running my code (see below). Logging in using a valid account always results in the 'Hi username' message. Any help how to debug this would be appreciated. thanks.
Code:
function onAuthenticate( $credentials, $options, &$response )
{
$response->status= JAUTHENTICATE_STATUS_FAILURE;
$response->error_message= 'Could not authenticate';
return false;
}
}






