test plan - password reset
This commit is contained in:
parent
ed3a723520
commit
d79bd1ae40
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user