Disabled login, now cant login


(James Ramm) #1

So, I foolishly disabled all the login options in the admin settings of my discourse installation.
Then I logged out.
Now I can’t log in. When I click ‘login’, the login box is completely empty.

Silly I know, but is there any way to restore?


(Régis Hanol) #2

You’ll have to SSH into your server, cd /var/discourse, ./launcher enter app and then rails c to changes the values of some of the SiteSettings :wink:


(Jens Maier) #3

If you have access to the server, sure:

/var/discourse/launcher enter app
rails c
SiteSetting.enable_local_logins = true

(Jens Maier) #4

So, about those presence features… perhaps Discourse also needs an “@user is composing a reply” indicator? :laughing:


(Régis Hanol) #5

I would still continue writing my reply :wink:


(system) automatically bumped #10

(Joshua Rosenfeld) #11

In addition to modifying site settings via the console as suggested above, admins can also get in through the admin-login system. https://forum.example.com/u/admin-login


(Joshua Rosenfeld) closed #12