Re: Login auth redirects wrong with sifr..

2008-04-20 Thread Mech7
Hmm what is the best practice then to allow default everything? i basically only need a login for the admin. On Apr 20, 2:19 am, Joel Perras [EMAIL PROTECTED] wrote: By allowing all actions by default in your AppController, you effectively break theAuthcomponent, since it freaks out when you

Login auth redirects wrong with sifr..

2008-04-19 Thread Mech7
I am using sifr, and some other javascripts which call othr files but then the login does not work anymore correctly for example it goes to: http://localhost/scms/admin/users/sifr/myriad_pro.swf Does anybody know a proper way to fix this, instead of changeing the paths in the javascript files ?

Re: Login auth redirects wrong with sifr..

2008-04-19 Thread simonb
On Apr 19, 5:03 pm, Mech7 [EMAIL PROTECTED] wrote: I am using sifr, and some other javascripts which call othr files but then the login does not work anymore correctly for example it goes to: http://localhost/scms/admin/users/sifr/myriad_pro.swf Does anybody know a proper way to fix this,

Re: Login auth redirects wrong with sifr..

2008-04-19 Thread Mech7
Yes but it's pretty much baisc auth setup which i found on some of the blogs. First it redirected always to the favicon.ico because i used a base tag and just loaded the file as relative path. Without $this- webroot; But the paths from outside the js it's not so easy to configure especially if

Re: Login auth redirects wrong with sifr..

2008-04-19 Thread Joel Perras
By allowing all actions by default in your AppController, you effectively break the Auth component, since it freaks out when you allow the login() function in your Users controller. I'd bet a shiny penny that this is at least part of your problem. -J. On Apr 19, 4:46 pm, Mech7 [EMAIL