php - Codeigniter Ionauth generating wrong email in forgot password -


when click forget password, link in email is:

http://10.50.2.124/ticket/auth/res=t_password/chkp7v2vaxxe09ijx060refc9881e6bb20ab2013 insted of

http://10.50.2.124/ticket/auth/reset_password/chkp7v2vaxxe09ijx060refc9881e6bb20ab2013 

the setting in ion_auth.php is:

$config['use_ci_email'] = true;  $config['email_config'] = array(                         'mailtype' => 'html',                          ); 

you should try set crlf fix issue:

$this->email->set_crlf("\r\n"); 

or

$config['crlf'] = "\r\n";  

Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -