最近有同學升級到 discuz! X3.2 1225 版本遇到郵箱找回密碼引數錯誤的問題
下面我們提供下郵箱重置密碼引數失敗的解決方法,如果有最新版本沒有發現這個問題的,就可以不做處理。
1 、修改 member_getpasswd.php 和 member_getpasswd.php 新增按鈕程式碼獲取 sign
template/default/member/getpasswd.htm
- <form method="post" autocomplete="off" action="member.php?mod=getpasswd&uid=$uid&id=$hashid">
改成
本帖隱藏的內容
- <form method="post" autocomplete="off" action="member.php?mod=getpasswd&uid=$uid&id=$hashid&sign=$sign">
2 、 source/module/member/member_getpasswd.php
- $hashid = $_GET['id'];
- $uid = $_GET['uid'];
改成
- $hashid = $_GET['id'];
- $uid = $_GET['uid'];
- $sign = $_GET['sign'];