Discuz X3.2 找回密码功能在修改密码时出现“参数错误”的解决方法

用户点击找回密码邮件里面的链接以后,当输入新密码点击提交后弹出“参数错误”提示,解决方法如下:

  1. 打开文件source/module/member/member_getpasswd.php

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

  3. 在这一行下面新增代码$sign = $_GET['sign'];并保存文件

  4. 打开discuz模板文件template/default/member/getpasswd.htm

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

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

评论

暂无评论