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
2156
November 4, 2020
Is there a way to force a mass logout?
Support
4
3035
March 6, 2018
Log out all users via API
Feature
5
1260
December 12, 2017
How do I activate a user account via console?
Dev
rails-console
2
520
November 21, 2023
How to unsuspend a user from the console
Support
2
499
December 5, 2020