BelongsTo work using bind but not on model

2008-10-25 Thread nanomag
Hi, I've got 3 tables users, events and user_has_events In my model user, I have added the relation hasmany on user_has_events, did same thing on event model. user_has events must have 2 relations belongsTo. Each record in this table have one and only one event and one and only one user I've tr

Re: Accessing form field results in undefined index error

2008-10-22 Thread nanomag
If you use a field called password, I'm not sure but I think that Cake automatically hash it. you have to compare $this->auth->password($this- >data['User']['confirm_password']) to $this->data['User'] ['password']; see http://book.cakephp.org/view/565/Troubleshooting-Auth-Problems On Oct 21, 3:4