I'm developing a App that ONLY uses Basic Auth as authentication
I want to specify some methods that requires authentication
So I have something like:
$this->Auth->authenticate = array("Basic");
$this->Auth->allow("info", "check")
$this->Security->requireAuth("check");
when ever I call the check function using HTTP Basic Username/Password I
always get "black holed"
and it seems like line 387 in SecurityComponent is to blaim:
if (!isset($controller->request->data['_Token'] )) {
if (!$this->blackHole($controller, 'auth')) {
return null;
}
}
what am I doing wrong here?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php