Explorar el Código

:bug: 发送重置密码邮件链接增加https://

visuddhinanda hace 4 años
padre
commit
9c96cf7bee
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      public/app/db/user.php

+ 1 - 1
public/app/db/user.php

@@ -175,7 +175,7 @@ class User extends Table
 			$ok = $this->_update(["reset_password_token"=>$resetToken],["reset_password_token"],["email"=>$email]);
 			if($ok){
 				#send email
-				$resetLink=WWW_DOMAIN_NAME."/app/ucenter/reset.php?token=".$resetToken;
+				$resetLink='https://'.WWW_DOMAIN_NAME."/app/ucenter/reset.php?token=".$resetToken;
 				$resetString=WWW_DOMAIN_NAME."/app/ucenter/reset.php";
 		
 				// 打开文件并读取数据