現在ログインしているユーザーを見つけて、魔術を使用して特定のユーザーのセッションを削除する方法はありますか?
前もって感謝します。
ドキュメントから:
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を見てください。