Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已经确认] UCH修改密码提示邮箱已存在BUG

[复制链接]
koth 发表于 2009-6-11 23:04:26 | 显示全部楼层 |阅读模式
本帖最后由 茄子 于 2009-6-12 11:04 编辑

打开source/cp_password.php

找到:
  1. $ucresult = uc_user_edit($_SGLOBAL['supe_username'], $_POST['password'], $_POST['newpasswd1'], $space['email']);
复制代码
替换为:
  1. $ucresult = uc_user_edit($_SGLOBAL['supe_username'], $_POST['password'], $_POST['newpasswd1'], '');
复制代码
这应该是官方的BUG,修改密码不涉及邮箱的修改,所以置空,而在edit_user里面,如果邮箱置空是不会更新的。
幸福摩天轮 发表于 2009-6-12 09:17:52 | 显示全部楼层
谢谢关注。。。
回复

使用道具 举报

itsrs2008 发表于 2009-6-14 09:17:27 | 显示全部楼层
好些不是每个网站都有吧?我的就是正常的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-6-10 07:05 , Processed in 0.108951 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表