Skip to content

Commit

Permalink
Remove "false" paramter from email->send()
Browse files Browse the repository at this point in the history
  • Loading branch information
DidierViret committed Jun 14, 2024
1 parent adfafec commit aa7d710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orif/user/Controllers/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ public function generate_send_verification_code($form_email) { // generate code
$email->setFrom(getenv('SMTP_ID'), lang('common_lang.app_title'));
$email->setSubject(lang('user_lang.mail_verification_code_subject'));
$email->setMessage(lang('user_lang.mail_verification_code_text').$verification_code);
$email->send(false);
$email->send();

// Set code's expiration timer
$_SESSION['timer_start'] = time();
Expand Down

0 comments on commit aa7d710

Please sign in to comment.