Home  >  Article  >  Backend Development  >  Discuz! X3.1 怎么一个账号只能有一个人使用

Discuz! X3.1 怎么一个账号只能有一个人使用

WBOY
WBOYOriginal
2016-06-13 11:59:00924browse

Discuz! X3.1 如何一个账号只能有一个人使用
刚接触PHP不久,现在要改Discuz! X3.1论坛的一个登录问题,让一个账号只能有一个在线,如果在另外的地方登录了,那么这边的就会被挤下去,请问如何实现啊?
------解决方案--------------------
Discuz 的登录机制在验证auth的时候并没有强制验证唯一的信息,只是简单解析出uid之类的东西,并且也没有记录在数据库。改起来问题很大。
------解决方案--------------------
不好改...
------解决方案--------------------
二次开发了,或者你自己单独设置密码,一个帐号你自己一个人用,不让别人知道你的密码即可。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn