I do a custom PHP page that allows member to validate their Joomla login credentials. Following is the code.
$credentials = array( 'username' => $username, 'password' => $password); $options = array(); $authenticate = JAuthentication::getInstance(); $response = $authenticate->authenticate($credentials, $options);
Will this code obey the Joomla user plugin events. For example If I write a plugin that uses 'onUserAfterLogin' will the above code call the plugin hook?