Files
aowow/config/extAuth.php.in
Sarjuuk 889f14a64f User/Auth
* import user access from external auth source if available
2017-08-30 17:25:40 +02:00

20 lines
344 B
PHP

<?php
if (!defined('AOWOW_REVISION'))
die('illegal access');
function extAuth($user, $pass, &$userId = 0, &$userGroup = -1)
{
/*
insert some auth mechanism here
see defines for usable return values
set userId for identification
*/
return AUTH_INTERNAL_ERR;
}
?>