Description
My admin account is locked after failed login attempts. The lockout time is set to 10 minutes, but it remains locked a few days later. Can I manually unblock the account from the terminal or elsewhere? I can’t login to manage the server because of it. Thank you.
- Version of Rocket.Chat Server: 4.6.2
- Operating System: Linux
- Deployment Method: Docker Compose
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: v14.18.3
- MongoDB Version: 4.4.13 / wiredTiger (oplog Enabled)
- Proxy: Nginx
- Firewalls involved: None
Hi!
The ban per user or ip is calculated based on the server events.
it will consider those entries to calculate, based on the number of minutes you configured, how to properly ban the user.
You can find those on the collection rocketchat_server_events
With access to Mongo, you can remove those failed attempts to bypass this ban.
Hi, how could I do this exactly? Thank you.
As you have deployed using docker, you could map/bind mongodb port to your host in you docker-compose.yml, and then access it from there using a tools like Mongo Compass.