Discourse Meta
Logout all users through the rails console
documentation
sysadmin
how-to
simon
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
2020
November 4, 2020
Is there a way to force a mass logout?
support
4
2893
March 6, 2018
How do I activate a user account via console?
dev
rails-console
2
312
November 21, 2023
Log out all users via API
feature
5
1214
December 12, 2017
How to unsuspend a user from the console
support
2
448
December 5, 2020