FIX: Show an error page if `finish-installation` can't run
This commit is contained in:
parent
263b25ba8c
commit
d379f57c58
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue