I need a miracle…
I just successfully destroyed my cute debian rocket.chat server by disabling the login. Is there any way to roll back config by cli? Access via ssh is ok, just the web doesn’t show any login window.
Now wondering if there’s a config file or a db command to check/correct.
All I wanted to do is to disable registrations. ;(
Any hint appreciated, thanks for your ideas.
Just a test server, but a couple of hours in it anyway…
Right click browser window click inspect. Then go to console tab of that window. Paste that snippet in the console and swap username and password for your own and hit return. Should log you in.
One way to do it is to have your CLI application bring up a menu. For instance; four choices and a line that says to enter a number from 1 to 4 and hit Enter.