Browse Source

Update inc_pwd_functions.php

tags/6.2.8
tianya 1 year ago
parent
commit
47e0cbb5b0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/user/inc/inc_pwd_functions.php

+ 1
- 1
src/user/inc/inc_pwd_functions.php View File

@@ -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');";


Loading…
Cancel
Save