Skip to content

Commit

Permalink
forgot password code
Browse files Browse the repository at this point in the history
  • Loading branch information
rakesh-m-r committed Feb 3, 2022
1 parent 32758fd commit bb8bec8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reset.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@
$mail->isSMTP(); // Set mailer to use SMTP
$mail->Host = 'smtp.gmail.com'; // Specify main and backup SMTP servers
$mail->SMTPAuth = true; // Enable SMTP authentication
$mail->Username = 'example@gmail.com';
$mail->Password = 'Password'; // SMTP password
$mail->Username = $_ENV["gmail"];
$mail->Password = $_ENV["ps"]; // SMTP password
$mail->SMTPSecure = 'ssl'; // Enable TLS encryption, `ssl` also accepted
$mail->Port = 465; // TCP port to connect to
$mail->setFrom('osesvit2021@gmail.com');
Expand Down

0 comments on commit bb8bec8

Please sign in to comment.