View of /mambo/branches/4.5.4/mambots/authenticator/mosvaliduserbot.php
Parent Directory
|
Revision Log
Revision 123 -
(download)
(annotate)
Thu Jan 12 21:48:18 2006 UTC (7 years, 4 months ago) by counterpoint
File size: 555 byte(s)
Thu Jan 12 21:48:18 2006 UTC (7 years, 4 months ago) by counterpoint
File size: 555 byte(s)
Add user authentication mambot.
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$this->registerFunction( 'requiredLogin', 'mosValidUserBot' );
function mosValidUserBot ($username, $passwd, $remember, &$message) {
echo 'user='.$username.'<br />';
echo 'password='.$passwd.'<br />';
echo 'remember='.$remember.'<br />';
die('what parameters do we get?');
$authenticator = mamboAuthenticator::getInstance();
$checkuser = $authenticator->authenticateUser($message, $username, $passwd, $remember);
return $checkuser;
}
?>
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

