Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装完插件之后,admin账号提示“访问受限 #1

Open
windhc opened this issue Aug 1, 2017 · 4 comments
Open

安装完插件之后,admin账号提示“访问受限 #1

windhc opened this issue Aug 1, 2017 · 4 comments
Assignees

Comments

@windhc
Copy link

windhc commented Aug 1, 2017

image

日志:
image

17:47:59 1401 in /opt/zbox/app/zentao/lib/ldap/ldap.class.php on line 141 when visiting user-login-aHR0cDovLzEwLjIwLjYuMjEzOjgwODAvemVudGFvL2luZGV4Lmh0bWw=

17:48:26 1401 in /opt/zbox/app/zentao/lib/ldap/ldap.class.php on line 141 when visiting user-login-aHR0cDovLzEwLjIwLjYuMjEzOjgwODAvemVudGFvL2luZGV4Lmh0bWw=

17:50:23 Creating default object from empty value in /opt/zbox/app/zentao/module/user/ext/config/ldap.php on line 19 when visiting user-logout-aHR0cDovLzEwLjIwLjYuMjEzOjgwODAvemVudGFvL2luZGV4Lmh0bWw=

17:50:23 Creating default object from empty value in /opt/zbox/app/zentao/module/user/ext/config/ldap.php on line 19 when visiting user-login-aHR0cDovLzEwLjIwLjYuMjEzOjgwODAvemVudGFvL2luZGV4Lmh0bWw=

17:50:29 Creating default object from empty value in /opt/zbox/app/zentao/module/user/ext/config/ldap.php on line 19 when visiting user-login-aHR0cDovLzEwLjIwLjYuMjEzOjgwODAvemVudGFvL2luZGV4Lmh0bWw=

17:50:29 Undefined offset: 1 in /opt/zbox/app/zentao/module/user/control.php on line 713 when visiting user-login-aHR0cDovLzEwLjIwLjYuMjEzOjgwODAvemVudGFvL2luZGV4Lmh0bWw=

17:50:29 Undefined property: stdClass::$admin in /opt/zbox/app/zentao/module/common/model.php on line 1132 when visiting user-login-aHR0cDovLzEwLjIwLjYuMjEzOjgwODAvemVudGFvL2luZGV4Lmh0bWw=

17:50:29 Creating default object from empty value in /opt/zbox/app/zentao/module/user/ext/config/ldap.php on line 19 when visiting index

17:50:29 Undefined property: stdClass::$admin in /opt/zbox/app/zentao/module/common/model.php on line 1132 when visiting index

17:50:29 Undefined property: stdClass::$admin in /opt/zbox/app/zentao/module/common/model.php on line 1132 when visiting index

17:50:29 Creating default object from empty value in /opt/zbox/app/zentao/module/user/ext/config/ldap.php on line 19 when visiting user-deny-index-index

非常感谢

@lytsing
Copy link
Contributor

lytsing commented Aug 5, 2017

看文档:

admin 系统管理员跳过LDAP 认证,如果你系统超级管理员不叫 admin,自行修改 module/user/ext/model/ldap.php 文件第8行

@windhc
Copy link
Author

windhc commented Aug 9, 2017

系统管理员就是叫admin,默认的名称没有改,用的是9.4版本

@lytsing lytsing self-assigned this Aug 10, 2017
@windhc
Copy link
Author

windhc commented Sep 16, 2017

hi,这个问题修复了吗,谢谢

@windhc
Copy link
Author

windhc commented Nov 8, 2017

希望这个插件能支持9.x版本,非常感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants