有没有办法找到当前登录的用户并使用巫术删除特定用户的会话?
提前致谢。
答案 0 :(得分:0)
Below is a summary of the library methods. Most method names are self explaining and the rest are commented:
# activity logging
current_users
您可以使用current_users
来遍历所有用户。要注销它们,请查看reset_session。