mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 18:02:46 +08:00
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
|
||||
|
||||
def ensure_no_admins
|
||||
preload_anonymous_data
|
||||
raise Discourse::InvalidAccess.new unless SiteSetting.has_login_hint?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user