do i use the logn method wrong?

 function admin_login() {
 $this->Auth->password($this->data['User']['passwort']);

    $this->Auth->login($this->data);

}

2010/7/27 Davor Ilic <[email protected]>

> My login doesn´t redirect me to the securitysite.
>
> 2010/7/27 Davor Ilic <[email protected]>
>
> ok thats cool thanks. i have also another question.
>>
>> and where can i find this. because in my user table all of them don´t have
>> a security salt or anything they are only in md5
>> and my user have to login they don´t need any security salt only md5.
>>
>> how can i cahange this.
>>
>>
>>
>> 2010/7/27 mike karthauser <[email protected]>
>>
>>
>>> hi Davor
>>>
>>> you probably need to sort your Auth fields array
>>>
>>> http://book.cakephp.org/view/1251/Setting-Auth-Component-Variables
>>>
>>> which will allow you to access pwd into Auth.
>>>
>>>
>>> On 27 Jul 2010, at 18:08, Davor Ilic wrote:
>>>
>>> Hi i have a problem with my password row.
>>>
>>> i have to use the row -> pwd but if i do this to login i got this array:
>>>
>>>  Array
>>>
>>> (
>>>     [User] => Array
>>>         (
>>>             [email] => [email protected]
>>>             [pwd] => mypassword
>>>             [password] =>
>>>         )
>>>
>>> )
>>>
>>>
>>> it seems that i can´t say don´t use password for post it or check it with 
>>> pwd.
>>>
>>>
>>> i don´t know exactly how to translate it. i hope guys you understand me 
>>> what i meen.
>>>
>>> the array should look like this and search in the table for the row pwd and 
>>> not password:
>>>
>>> Array
>>>
>>> (
>>>     [User] => Array
>>>         (
>>>             [email] => [email protected]
>>>             [pwd] => mypassword
>>>         )
>>> )
>>>
>>>
>>>
>>> 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 [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected] For more options, visit this group
>>> at http://groups.google.com/group/cake-php?hl=en
>>>
>>>
>>>     --
>>> Mike Karthäuser
>>> Managing Director - Brightstorm Ltd
>>> Email: [email protected]
>>> Web: http://www.brightstorm.co.uk
>>> Tel: 07939 252144
>>> Address: 1 Brewery Court, North Street, Bristol, BS3 1JS
>>>
>>>  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 [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]<cake-php%[email protected]>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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to