From a43e0346e403322071a0de841f8b5299b356a8bd Mon Sep 17 00:00:00 2001 From: foxodever <52624723+foxodever@users.noreply.github.com> Date: Tue, 21 Sep 2021 14:28:48 +0300 Subject: [PATCH] Update lostpassword.php --- accounts/lostpassword.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts/lostpassword.php b/accounts/lostpassword.php index bdf4569..62b7699 100644 --- a/accounts/lostpassword.php +++ b/accounts/lostpassword.php @@ -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); @@ -62,4 +62,4 @@ function generate($how_long) { } } -?> \ No newline at end of file +?>