Im using Auth component
I have the following code in my register/add function
if (!empty($this->data))
{
pr($this->data);
$this->School->set($this->data);
if ($this->School->save($this->data))
{
print "data saved"
}
else
{
print "cannot save data";
}
}
I always get the password field empty and it is being saved as null
All other fields including username are saved properly
malcolm
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---