From 735d507dffc20c8ab8c26cc250b77011733b402d Mon Sep 17 00:00:00 2001 From: Thies Mueller Date: Sat, 9 Jan 2021 22:55:15 +0100 Subject: [PATCH] some minor changes so that the mail sends as "activation" not "password reset" --- activation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activation.php b/activation.php index 64a4670..93e108b 100644 --- a/activation.php +++ b/activation.php @@ -46,8 +46,8 @@ if(isset($_GET['send']) ) { $result = $statement->execute(array('activationcode' => sha1($activationcode), 'userid' => $user['id'])); $mailrcpt = $user['email']; - $mailsubject = "New password for your User"; - $from = "From: Password Reset Service "; //place a real address if we use this in production + $mailsubject = "Activate the Account of ".$user['username']; + $from = "From: Account Activation Service "; //place a real address if we use this in production $url_activationcode = 'https://loginpagefoo.td00.de/resetpass.php?userid='.$user['id'].'&code='.$activationcode; //this shouldnt be my domain in prod.. $text = 'Hallo '.$user['username'].', please use the following URL to activate your account in the next 24h: