搜索找到 1 个匹配

iMaeGoo
2022年 11月 9日 09:21
版面: 使用问题
主题: typecho1.2.0登录Return value of Widget\User::login() must be of the type bool, null returned
回复总数: 2
阅读次数: 5445

Re: typecho1.2.0登录Return value of Widget\User::login() must be of the type bool, null returned

遇到了同样的问题,试着删掉 typecho/var/Widget/User.php 里面的这几行代码以后恢复正常,但是不明白是什么原理

代码: 全选

        //插件接口
        $result = self::pluginHandle()->trigger($loginPluggable)->login($name, $password, $temporarily, $expire);
        if ($loginPluggable) {
            return $result;
        }