Discuz X3.2 找回密碼功能在修改密碼時出現「參數錯誤」的解決方法

用戶點擊找回密碼郵件裏面的連接之後,當輸入新密碼點擊提交後彈出「參數錯誤」提示,解決方法以下:php

  1. 打開文件source/module/member/member_getpasswd.phppost

  2. 找到代碼$uid = $_GET['uid'];(大概在第32行)ui

  3. 在這一行下面新增代碼$sign = $_GET['sign'];並保存文件code

  4. 打開discuz模板文件template/default/member/getpasswd.htmorm

  5. 找到<form method="post" autocomplete="off" action="member.php?mod=getpasswd&uid=$uid&id=$hashid">(大概在第8行)htm

  6. 修改成<form method="post" autocomplete="off" action="member.php?mod=getpasswd&uid=$uid&id=$hashid&sign=$sign">get

相關文章
相關標籤/搜索