mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
User/Auth
* import user access from external auth source if available
This commit is contained in:
@@ -4,7 +4,7 @@ if (!defined('AOWOW_REVISION'))
|
||||
die('illegal access');
|
||||
|
||||
|
||||
function extAuth($user, $pass, &$userId = 0)
|
||||
function extAuth($user, $pass, &$userId = 0, &$userGroup = -1)
|
||||
{
|
||||
/*
|
||||
insert some auth mechanism here
|
||||
|
||||
Reference in New Issue
Block a user