Are you using scaffolding?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
Firstly use PHP 5.
Secondly remove $this-Auth-allow('*'). Why are you even using the
Auth component if your allowing all pages to be viewable? Perhaps
place this in each controller separately.
And thirdly, I thought isAuthorized is called after you are logged in.
Someone correct me if im wrong.
gearvOsh is correct in addition, when you have a public action
isAuthorized is never called. Why would it? you are visiting a public
url.
-Mark
On Jan 4, 1:14 am, Matt Williamson dawsdes...@gmail.com wrote:
Hey Guys,
I am trying to use the Auth component, but I'm pretty sure there's
some
On Sun, Jan 4, 2009 at 11:59 AM, mark_story mark.st...@gmail.com wrote:
gearvOsh is correct in addition, when you have a public action
isAuthorized is never called. Why would it? you are visiting a public
url.
To add to the above, isAuthorized() is called by Auth after it logs
someone in.
Hey Guys,
I am trying to use the Auth component, but I'm pretty sure there's
some bug preventing me from doing so. Here is what my
app_controller.php looks like:
?php
class AppController extends Controller {
var $components = array('Auth');
function beforeFilter(){
P.S. I'm using release 1.2.0.7962.
On Sun, Jan 4, 2009 at 1:14 AM, Matt Williamson dawsdes...@gmail.comwrote:
Hey Guys,
I am trying to use the Auth component, but I'm pretty sure there's
some bug preventing me from doing so. Here is what my
app_controller.php looks like:
?php
class