Reported by andrzejborkowski (at gmail) | January 7th, 2011 @ 07:16 AM
add login to allow action @ users_controller
u must add some information:
u have in view email,password
in code is default cakephp ussername, password, users plugin settings must be sometging like that:
function beforeFilter(){
$this->Auth->fields = array(
'username' => 'email',
'password' => 'passwd'
);
}
information about Email component in my case return true but sendmail do not sent mails so i propose to everybody use smtp delivery method
$this->Email->smtpOptions = array(
'port'=>'465',
'timeout'=>'30',
'host'=>'ssl://smtp.gmail.com',
'username'=>'xxx@gmail.com',
'password'=>'xxx'
);
$this->Email->delivery = 'smtp';
add echo $this->Session->flash('auth'); to login view
after that and created && activated account i still cant login to my page ...
how can i debug it and resolve thath problem
Reported by andrzejborkowski (at gmail) | January 7th, 2011 @ 07:16 AM
add login to allow action @ users_controller
u must add some information:
u have in view email,password
in code is default cakephp ussername, password, users plugin settings must be sometging like that:
information about Email component in my case return true but sendmail do not sent mails so i propose to everybody use smtp delivery method
add echo $this->Session->flash('auth'); to login view
after that and created && activated account i still cant login to my page ...
how can i debug it and resolve thath problem