Hi,
Via the console or elsewhere, is it possible to reset all user logins, IP address links and anything else? An admin recently impersonated system and we’d like to erase this IP login, login session and everything related.
Thanks.
Hi,
Via the console or elsewhere, is it possible to reset all user logins, IP address links and anything else? An admin recently impersonated system and we’d like to erase this IP login, login session and everything related.
Thanks.
You want to delete/reset the user or system?
You can delete the ip address, though I would need to look at the source to figure it out.
What else do you want to delete?
What problem are you solving?
cd /var/discourse
./launcher enter app
rails c
User.find(-1).update(ip_address: nil, last_seen_at: nil)
And so on.
Thank you!
Although, I get the error bash: syntax error near unexpected token '-1'
- any way to fix this?
Forgot to enter rails.
You have to get into rails. I edited my post.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.