function admin_login() {
$this->data['User']['passwort'] = md5($this->data['User']['passwort']);
$this->Auth->login($this->data);
}
2010/7/27 Davor Ilic <webfacer@gmail.com>
function admin_login() {$this->data['User']['passwort'] = md5($this->data['User']['passwort']);$this->Auth->login($this->data);}2010/7/27 Davor Ilic <webfacer@gmail.com>
or like this2010/7/27 Davor Ilic <webfacer@gmail.com>
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 <webfacer@gmail.com>My login doesn´t redirect me to the securitysite.2010/7/27 Davor Ilic <webfacer@gmail.com>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 md5and my user have to login they don´t need any security salt only md5.how can i cahange this.2010/7/27 mike karthauser <mikek@brightstorm.co.uk>
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.hi Davoryou probably need to sort your Auth fields arraywhich will allow you to access pwd into Auth.On 27 Jul 2010, at 18:08, Davor Ilic wrote:Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.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] => my@ema.il [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] => my@ema.il [pwd] => mypassword ) )
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
--
Mike KarthäuserManaging Director - Brightstorm Ltd
Email: mikek@brightstorm.co.uk
Web: http://www.brightstorm.co.uk
Tel: 07939 252144Address: 1 Brewery Court, North Street, Bristol, BS3 1JS
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:
Post a Comment