XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
auth_xoops.php
Go to the documentation of this file.
1
<?php
21
defined(
'XOOPS_ROOT_PATH'
) or die('Restricted access');
22
31
class
XoopsAuthXoops
extends
XoopsAuth
32
{
36
function
XoopsAuthXoops
(&$dao)
37
{
38
$this->_dao = $dao;
39
$this->auth_method =
'xoops'
;
40
}
41
49
function
authenticate(
$uname
, $pwd = null)
50
{
51
$member_handler
= &
xoops_gethandler
(
'member'
);
52
$user
=&
$member_handler
->loginUser(
$uname
, $pwd);
53
if
(
$user
==
false
) {
54
$this->setErrors(1,
_US_INCORRECTLOGIN
);
55
}
56
return
$user
;
57
}
58
}
59
60
?>
L:
0xoops
xoops-2.5.6
htdocs
class
auth
auth_xoops.php
Generated on Fri May 10 2013 01:04:23 for XOOPS 2.5.6 by
1.8.3.1