Skip to content

Commit

Permalink
Update lostpassword.php
Browse files Browse the repository at this point in the history
  • Loading branch information
foxodever committed Sep 21, 2021
1 parent 20217da commit a43e034
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions accounts/lostpassword.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function generate($how_long) {
$mail->SMTPAuth = true;
$mail->Username = $mail_server;
$mail->Password = $mail_server_password;
$mail->SMTPSecure = 'ssl';
$mail->SMTPSecure = $mail_type;
$mail->Port = $smtp_port;

$mail->setFrom($mail_server);
Expand All @@ -62,4 +62,4 @@ function generate($how_long) {
}
}

?>
?>

0 comments on commit a43e034

Please sign in to comment.