Hi [EMAIL PROTECTED]
Yes, I am sure that I am logged in. I am able to see the message "okay
i'm logged in". Also I made $strict_gid_check = false and $gi = 99.
Here, the code for the controller that I am using
class AppController extends Controller {
var $components = array('othAuth');
var $helpers = array('html', 'othAuth');
var $othAuthRestrictions = array('add', 'edit', 'delete', 'view');
function beforeFilter() {
$auth_conf = array('auto_redirect' => true,
'login_page' => 'users/login',
'logout_page' => 'users/logout',
'access_page' => 'articles/read/1',
'hashkey' => 'justWriteSomeRandomCrapHere',
'strict_gid_check' => false);
$this->othAuth->controller = &$this;
$this->othAuth->init($auth_conf);
$this->othAuth->check();
}
}
?>
Regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---