忘记后台密码


通过前台找回密码

如果你配置了邮箱,那么请到前台忘记密码页面,用邮箱找回你的密码

密码重置

这需要你有数据库访问权限。这里主要说一下密码的生成步骤。

1.在 portal应用下创建一个 TestController,文件路径 app/portal/controller/TestController.php

<?phpnamespace app\portal\controller;use cmf\controller\HomeBaseController;class TestController extends HomeBaseController{    public function index()
    {        return cmf_password('666666');
    }
}

2.访问上面创建的方法
地址是:你的服务器地址/portal/test/index
看到一串很长的字符串后复制它。

3.打开数据库管理工具,在 cmf_user表(注意如果你的表前缀),找到用户 id 为1的那一行把 user_pass 更改为上一步的字符串,登录密码就是666666,登录成功后自己再修改吧



评论


江湖:
01月15日 16:28

梦逸飞翔:
01月15日 11:17
一样

LI荣钜:
01月14日 20:18
糯米

 :
01月14日 00:40
哈哈

一个人窝在铺头*:
01月13日 15:35

1:
01月12日 20:11

马俊超:
01月11日 23:02

马俊超:
01月11日 23:02

Martin:
01月10日 14:51
呜呜呜呜

孙高兴:
01月08日 17:27
,,

热门文章