check subdomain for license
This commit is contained in:
@@ -43,6 +43,8 @@ class InstallController < BaseController
|
||||
(request.subdomain.present? && request.subdomain != "www" && ENV["SERVER_MODE"] != "cloud")
|
||||
if check_license(request.host)
|
||||
redirect_to root_url
|
||||
else
|
||||
not_found unless check_subdomain(request.host)
|
||||
end
|
||||
else
|
||||
not_found
|
||||
|
||||
Reference in New Issue
Block a user