How can I automatically register a user immediately after signing up with CakePHP?
1 answer
Well it boils down to this:
- When your user is registered, save his credentials
- Call $ this-> Auth-> login ()
- Redirect to your page
Find out more about Auth :: login () here:
http://api.cakephp.org/class/auth-component#method-AuthComponentlogin
+2
a source to share