CakePHP 2.0 Automatic Login after Account Activation
I'm just working on the user management-component of our new project. The plan is: User registers on the page with minimal amount of account data (username, pass, email) User gets an email with an activation link to activate the account User clicks on the link and activates his account The system logs in the user after automatically after activation and redirects him to kind of a dashboard with account information (last login, hi "username", etc.) But there are some problems with the auto login. this is the part of the code i use: <?php ... // set userstatus to "active" and delete meta