test plan - password reset

This commit is contained in:
Daniel Camargo 2013-08-19 12:32:46 -03:00
parent ed3a723520
commit d79bd1ae40

View File

@ -136,11 +136,11 @@ class Controller_api_user extends Crunchbutton_Controller_Rest {
// Send the code by email
if( filter_var( $_POST[ 'email' ], FILTER_VALIDATE_EMAIL ) ){
/*$mail = new User_Auth_Reset_Email( [
$mail = new User_Auth_Reset_Email( [
'code' => $code,
'email' => $email
] );
$mail->send();*/
$mail->send();
}
// Send the code by sms
else {