From 47e0cbb5b07fd633f9d171e5e0023e35c67e6577 Mon Sep 17 00:00:00 2001 From: tianya Date: Wed, 24 May 2023 20:50:39 +0800 Subject: [PATCH] Update inc_pwd_functions.php --- src/user/inc/inc_pwd_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user/inc/inc_pwd_functions.php b/src/user/inc/inc_pwd_functions.php index 094db391..1c23cfd1 100755 --- a/src/user/inc/inc_pwd_functions.php +++ b/src/user/inc/inc_pwd_functions.php @@ -77,7 +77,7 @@ function newmail($mid, $userid, $mailto, $type, $send) $mailtitle = $cfg_webname.":密码修改"; $mailto = $mailto; $headers = "From: ".$cfg_adminemail."\r\nReply-To: $cfg_adminemail"; - $mailbody = "尊敬的会员".$userid.",临时登录密码:".$randval."\r\n请三天内修改登录密码:".$cfg_basehost."/resetpassword.php?dopost=getpasswd&id=".$mid; + $mailbody = "尊敬的会员".$userid.",临时登录密码:".$randval."\r\n请三天内修改登录密码:".$cfg_basehost.$cfg_memberurl."/resetpassword.php?dopost=getpasswd&id=".$mid; if ($type == 'INSERT') { $key = md5($randval); $sql = "INSERT INTO `#@__pwd_tmp` (`mid` ,`membername` ,`pwd` ,`mailtime`) VALUES ('$mid', '$userid', '$key', '$mailtime');";