hostmanager: Don't set host.disallow_s2s when anonymous_login=true (mod_auth_anonymous does this now).

Tue, 28 Dec 2010 09:58:40 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Tue, 28 Dec 2010 09:58:40 +0500
changeset 3984
6be419e2f509
parent 3983
38ec7255b111
child 3985
277b5bf9a200

hostmanager: Don't set host.disallow_s2s when anonymous_login=true (mod_auth_anonymous does this now).

core/hostmanager.lua file | annotate | diff | comparison | revisions
--- a/core/hostmanager.lua	Tue Dec 28 05:28:15 2010 +0500
+++ b/core/hostmanager.lua	Tue Dec 28 09:58:40 2010 +0500
@@ -67,9 +67,6 @@
 	if not host_config.core.component_module then -- host
 		host_session.type = "local";
 		host_session.sessions = {};
-		if configmanager.get(host, "core", "anonymous_login") then
-			host_session.disallow_s2s = (configmanager.get(host, "core", "disallow_s2s") ~= false);
-		end
 	else -- component
 		host_session.type = "component";
 	end

mercurial