Friday, December 3, 2010

Re: Auth loginAction and multiple prefixes

I did consider that, but I'm looking for something fairly simple to both implement and administer (I don't want to have to make loads of changes/create new objects when I add a new prefix, for example).

Jeremy Burns
Class Outfit

jeremyburns@classoutfit.com
http://www.classoutfit.com

On 3 Dec 2010, at 12:17, Alex Ciobanu wrote:

> On 12/3/2010 1:46 PM, Jeremy Burns wrote:
>> Not sure I've seen a definitive answer for this...
>>
>> I'm on 1.3.6, and have multiple prefixes. I want to always redirect
>> to /users/login when authentication is required. I was hoping this
>> would work:
> Have you considered teknoid's method [1]?
> The downside is that you'll have to create actions for all your prefixes.
>
> [1] http://nuts-and-bolts-of-cakephp.com/2009/01/12/462/
>
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
>
> 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
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: