- UID
- 1
- 积分
- 9952464
- 金币
- 9951975
- 阅读权限
- 200
- 注册时间
- 2020-5-22
- 在线时间
- 123 小时
管理员
  
- UID
- 1
- 阅读权限
- 200
- 积分
- 9952464
- 威望
- -1
- 金币
- 9951975

 鲜花( 0)  鸡蛋( 0)
|
小编通过分析了下会员获取密码的文件可能存在问题,小编又查阅了些资料找到了解决问题的方法。
下面我们提供下邮箱重置密码参数失败的解决方法,如果有最新版本没有发现这个问题的,就可以不做处理。
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'];
复制代码
修改好了这两个文件后,保存上传到对应的文件目录下覆盖就可以了。有的论坛缓存是比较大的,修改之后可以登录论坛的后台更新下缓存,然后再登陆首页通过邮箱找回密码就可以正常使用了。 |
|
关于我们