User/Auth

* import user access from external auth source if available
This commit is contained in:
Sarjuuk
2017-08-30 17:08:33 +02:00
parent 858e5a0492
commit 889f14a64f
2 changed files with 18 additions and 8 deletions

View File

@@ -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