Thursday, July 30, 2009

Re: Auth Component

thanks that seems to work,
no i run into another issue. on my UsersController. the login form shows up
but when i try to login i always get the message "username/password"
correct.
$someone['User']['password'] has the hashpassword but its still not
working.
any hints?

thanks


function login() {

if($someone['User']['password'] == $this->data['User']['password'])
{
echo "not able to get in here"
}

brian-263 wrote:
>
>
> class SomeController extends AppController
> {
> function beforeFilter()
> {
> parent::beforeFilter();
>
> $this->Auth->allowedActions = array('someAction', 'someOtherAction');
> }
>
> On Thu, Jul 30, 2009 at 9:10 PM, pete123456<lumotion@gmail.com> wrote:
>>
>>
>> Hi,
>> i've added var $components = array('Auth'); to my AppController.
>> Now i need to login on every single page, is there a way to remove the
>> Authentication within certain controllers?
>>
>> thanks
>>
>> pete
>> --
>> View this message in context:
>> http://www.nabble.com/Auth-Component-tp24749664p24749664.html
>> Sent from the CakePHP mailing list archive at Nabble.com.
>>
>>
>> >
>>
>
> >
>
>

--
View this message in context: http://www.nabble.com/Auth-Component-tp24749664p24750099.html
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
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: