Tuesday, October 28, 2014

After I change my User.name, can not log in..

Ok friends 

The situation is as follows: 

Admin has the ability to change the name, email address and other profile information of users, but this form does not contain the password field. 

When admin, save the changes, a user can not log in. I looked in the database there is a password unchanged. 

But when I set the password field (which is mandatory) in the form, and save all together, the user can log in without a problem. 


For login information using email and password.

fields in the user table: 
id, name, email, password, group_id, ... 


What could be, sessions? 
How to solve this problem?

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: