Give SINGLE_USER a chance to register (#1820)
An attempt to open a brand new Mastodon instance configured as SINGLE_USER_MODE=true will cause an exception. Enable temporary registration if we have no users in the database Fixes #1817
Showing
- app/controllers/application_controller.rb 5 additions, 1 deletionapp/controllers/application_controller.rb
- app/controllers/auth/registrations_controller.rb 1 addition, 1 deletionapp/controllers/auth/registrations_controller.rb
- app/controllers/home_controller.rb 1 addition, 1 deletionapp/controllers/home_controller.rb
- app/views/accounts/show.html.haml 1 addition, 1 deletionapp/views/accounts/show.html.haml
- app/views/stream_entries/show.html.haml 1 addition, 1 deletionapp/views/stream_entries/show.html.haml
Loading
Please register or sign in to comment