最近有同學升級到 discuz! X3.2 1225 版本遇到郵箱找回密碼參數錯誤的問題

下面我們提供下郵箱重置密碼參數失敗的解決方法,如果有最新版本沒有發現這個問題的,就可以不做處理。

1 、修改 member_getpasswd.php 和 member_getpasswd.php 添加按鈕代碼獲取 sign
template/default/member/getpasswd.htm

  1. <form method="post" autocomplete="off" action="member.php?mod=getpasswd&uid=$uid&id=$hashid">

改成

本帖隱藏的內容

  1. <form method="post" autocomplete="off" action="member.php?mod=getpasswd&uid=$uid&id=$hashid&sign=$sign">

2 、 source/module/member/member_getpasswd.php

  1.                 $hashid = $_GET['id'];
  2.                 $uid = $_GET['uid'];

改成

  1.                 $hashid = $_GET['id'];
  2.                 $uid = $_GET['uid'];
  3.                 $sign = $_GET['sign'];