Mass Log Out All Users

Hi all,

Is there a way to mass log out all users on the forum? Currently, we’re experiencing an issue where non-paying customers have access to the forum when not allowed. If we log out all users and require them to relog back in, the expired users would not have access. Is this possible?

Thanks! :grinning:

From What to do if your Discourse is compromised

./launcher enter app
rails r 'UserAuthToken.destroy_all'

I would aim to logout only select accounts though.

5 Likes