46 if (!isset($_PAM_HANDLERS[$policy])) {
47 $_PAM_HANDLERS[$policy] = array();
52 $_PAM_HANDLERS[$policy][
$handler] = new \stdClass;
55 $_PAM_HANDLERS[$policy][
$handler]->importance = strtolower($importance);
75 unset($_PAM_HANDLERS[$policy][
$handler]);
register_pam_handler($handler, $importance="sufficient", $policy="user")
Register a PAM handler.
elgg global
Pointer to the global context.
unregister_pam_handler($handler, $policy="user")
Unregisters a PAM handler.