Discourse Meta
Logout all users through the rails console
Documentation
Self-Hosting
how-to
Discourse
July 26, 2018, 10:13pm
1
To logout all users, enter the rails console and then run
UserAuthToken.destroy_all
13 Likes
Administrative Bulk Operations
How to turn off forum except for staff
Related Topics
Topic
Replies
Views
Activity
How to log out all members?
Support
5
2148
November 4, 2020
Is there a way to force a mass logout?
Support
4
3026
March 6, 2018
How do I activate a user account via console?
Dev
rails-console
2
512
November 21, 2023
Log out all users via API
Feature
5
1258
December 12, 2017
How to unsuspend a user from the console
Support
2
497
December 5, 2020