Compare commits
1 commit
main
...
fix/pwd_co
Author | SHA1 | Date | |
---|---|---|---|
4808df102a |
3 changed files with 4 additions and 4 deletions
|
@ -54,7 +54,7 @@ if ($action == "approve") {
|
|||
$row["email"],
|
||||
"Gift Registry application approved",
|
||||
"Your Gift Registry application was approved by " . $_SESSION["fullname"] . ".\r\n" .
|
||||
"Your username is " . $row["username"] . " and your password is $pwd.",
|
||||
"Your username is " . $row["username"] . " and your password is '$pwd'.",
|
||||
"From: {$opt["email_from"]}\r\nReply-To: {$opt["email_reply_to"]}\r\nX-Mailer: {$opt["email_xmailer"]}\r\n"
|
||||
) or die("Mail not accepted for " . $row["email"]);
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ if (isset($_POST["action"]) && $_POST["action"] == "signup") {
|
|||
$email,
|
||||
"Gift Registry account created",
|
||||
"Your Gift Registry account was created.\r\n" .
|
||||
"Your username is $username and your password is $pwd.",
|
||||
"Your username is $username and your password is '$pwd'.",
|
||||
"From: {$opt["email_from"]}\r\nReply-To: {$opt["email_reply_to"]}\r\nX-Mailer: {$opt["email_xmailer"]}\r\n"
|
||||
) or die("Mail not accepted for $email");
|
||||
}
|
||||
|
|
|
@ -136,7 +136,7 @@ else if ($action == "insert") {
|
|||
$email,
|
||||
"Gift Registry account created",
|
||||
"Your Gift Registry account was created.\r\n" .
|
||||
"Your username is $username and your password is $pwd.",
|
||||
"Your username is $username and your password is '$pwd'.",
|
||||
"From: {$opt["email_from"]}\r\nReply-To: {$opt["email_reply_to"]}\r\nX-Mailer: {$opt["email_xmailer"]}\r\n"
|
||||
) or die("Mail not accepted for $email");
|
||||
header("Location: " . getFullPath("users.php?message=User+added+and+e-mail+sent."));
|
||||
|
@ -178,7 +178,7 @@ else if ($action == "reset") {
|
|||
mail(
|
||||
$resetemail,
|
||||
"Gift Registry password reset",
|
||||
"Your Gift Registry password was reset to $pwd.",
|
||||
"Your Gift Registry password was reset to '$pwd'.",
|
||||
"From: {$opt["email_from"]}\r\nReply-To: {$opt["email_reply_to"]}\r\nX-Mailer: {$opt["email_xmailer"]}\r\n"
|
||||
) or die("Mail not accepted for $email");
|
||||
header("Location: " . getFullPath("users.php?message=Password+reset."));
|
||||
|
|
Loading…
Add table
Reference in a new issue