Hello guyz!
I couldn't find nothing about what DooAuth can do, and some how-tos...
Could you help me?
DooPHP IRC channel
//bla bla... after query the DB and the user + password match.
$this->auth->setSecurityLevel(DooAuth::LEVEL_HIGH); //Needed high security level
$this->auth->setData($_POST['username'], 'member'); //set username and role.
//to check if a user is login
if($this->auth->isValid()){
echo 'You are login!';
}Return to Installation & Setup
Users browsing this forum: No registered users and 1 guest