FIX: Show an error page if `finish-installation` can't run

This commit is contained in:
Robin Ward 2016-12-07 11:10:08 -05:00
parent 263b25ba8c
commit d379f57c58
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ class FinishInstallationController < ApplicationController
end end
def ensure_no_admins def ensure_no_admins
preload_anonymous_data
raise Discourse::InvalidAccess.new unless SiteSetting.has_login_hint? raise Discourse::InvalidAccess.new unless SiteSetting.has_login_hint?
end end
end end