Re: Auth Broken.

2009-01-06 Thread jitka (poLK)
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

Re: Auth Broken.

2009-01-04 Thread gearvOsh
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.

Re: Auth Broken.

2009-01-04 Thread mark_story
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

Re: Auth Broken.

2009-01-04 Thread brian
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.

Auth Broken.

2009-01-03 Thread Matt Williamson
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(){

Re: Auth Broken.

2009-01-03 Thread Matt Williamson
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