你好,我几天前搭建了一个 Discourse 论坛。今天打算登录,但点击按钮后,登录表单没有显示……
Have you disabled local logins in your site settings?
No, but I’m not so sure.
Can I see the config file, without logging in?
Thanks for the reply ![]()
You cannot see/change settings without being logged in to your admin account, do you have a hosted instance or have you installed it yourself?
I have installed myself
If you cannot login to your admin account via the social logins, you can change site settings via the console
In your /discourse file, add this
rails c
SiteSetting.enable_local_logins = true
Make sure to run this in your ./launcher enter app container
Proof here:
Thanks you very much, this works!
But the bundle command don’t worked for me:
bundle exec rails c
I needed to use only
rails c
