Is it possible in cakephp that a user be registered automatically with a predefined set of inputs (username, password and all that...) provided by the programmer.?
I want to register a user automatically whenever he tries to enter/access a member's restricted area.
Please help me achieve this functionality.
Using cakephp v1.2, xampp
Thanks...
:)
Found the answer, :)
I simply assigned
'$this->data'
some values by myself like this
$this->data['User']['password'] = "test";
$this->data['User']['email'] = "[email protected]";
$this->data['User']['password'] = "Registered";
and then the add action did it's work accordingly..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With