From d379f57c58d12e2e10443508b6349d5f1181fa08 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 7 Dec 2016 11:10:08 -0500 Subject: [PATCH] FIX: Show an error page if `finish-installation` can't run --- app/controllers/finish_installation_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/finish_installation_controller.rb b/app/controllers/finish_installation_controller.rb index 01bbf5bfccb..c9a30724d48 100644 --- a/app/controllers/finish_installation_controller.rb +++ b/app/controllers/finish_installation_controller.rb @@ -59,6 +59,7 @@ class FinishInstallationController < ApplicationController end def ensure_no_admins + preload_anonymous_data raise Discourse::InvalidAccess.new unless SiteSetting.has_login_hint? end end