Hi I accidentally check “use admin IP whitelist” now somehow my admin ip address is blocked so I cant access admin panel. I have SSH access, is there is any way to add ip to screened ip list via ssh or uncheck “use admin ip whitelist” via ssh. Thanks in advance.
These (untested) steps should work:
cd /var/discourse sudo ./launcher enter app rails c irb > SiteSetting.use_admin_ip_whitelist = false irb > exit exit
Wow Felix, Thanks for the help. Given code works like charm. Saves my day.
This topic was automatically closed after 29 hours. New replies are no longer allowed.