i've been trying to implement that scattered examples of user
registration/authentication systems and without much success. I know
it's due to my lack of sKiLLz or whatever, but I could use some help.
The code i have creates my user and puts it into the database just
fine..but after that, nothing happens... no flash, no redirect. I
can't figure it out. here is my register code in the users_controller:
function register() {
if (!empty($this->data)) {
if ($this->data['User']['password'] == $this->Auth-
>password($this->data['User']['password_confirm'])) {
$this->User->create();
$this->User->save($this->data);
$this->redirect('login');
}
}
}
what am I doing wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---