User Auto Login after Registration (cake php)


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $data = array('username' => 'user', 'password' => $unhashedPw);
  2. $this->User->login($data);

URL: http://stackoverflow.com/questions/1470747/auto-login-in-cakephp

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.