1、入口
auth/login.php:
-
if ( $claro_loginRequested && ! $claro_loginSucceeded )
2、来源:
\inc\claro_init_local.inc.php
-
try
-
{
-
$currentUser = AuthManager::authenticate($login, $password);
-
-
if ( $currentUser )
-
{
-
$_uid = (int)$currentUser->userId;
-
$uidReset = true;
-
$claro_loginSucceeded = true;
-
}
-
else
-
{
-
$_uid = null;
-
$claro_loginSucceeded = false;
-
}
-
}
-
catch (Exception $e)
三、用户管理类
inc\lib\auth\authmanager.lib.php
-
return Claro_CurrentUser::getInstance( $uid, true );
四、用户类:
\inc\lib\kernel\user.lib.php
-
public function __construct( $userId )
-
{
-
$this->_userId = $userId;
-
$this->sessionVarName = '_user';
-
}
阅读(1794) | 评论(0) | 转发(0) |