[英]Liferay restrict multiple user login
我不希望用户允许从多台PC登录,如果用户已经从一台PC登录并尝试从另一台PC登录,则应该注销第一个会话,有人可以帮助我吗?
您可以使用下面的门户网站属性来实现所需的功能。
#
# Set the following to true if users are allowed to have simultaneous logins
# from different sessions. This property is not used unless the property
# "live.users.enabled" is set to true.
#
auth.simultaneous.logins=false
请注意,必须将live.users.enabled属性全部设置为true。 将这些属性放入门户网站的portal-ext.properties文件中。
当您通过其他浏览器/机器登录时,第一个会话将被注销。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.