aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/UserServer
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Grid/UserServer/Main.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs
index e24b486..787679e 100644
--- a/OpenSim/Grid/UserServer/Main.cs
+++ b/OpenSim/Grid/UserServer/Main.cs
@@ -124,6 +124,10 @@ namespace OpenSim.Grid.UserServer
124 m_httpServer.AddXmlRPCHandler("login_to_simulator", m_loginService.XmlRpcLoginMethod); 124 m_httpServer.AddXmlRPCHandler("login_to_simulator", m_loginService.XmlRpcLoginMethod);
125 125
126 m_httpServer.AddHTTPHandler("login", m_loginService.ProcessHTMLLogin); 126 m_httpServer.AddHTTPHandler("login", m_loginService.ProcessHTMLLogin);
127 //
128 // Get the minimum defaultLevel to access to the grid
129 //
130 m_loginService.setloginlevel((int)Cfg.DefaultUserLevel);
127 131
128 if (Cfg.EnableLLSDLogin) 132 if (Cfg.EnableLLSDLogin)
129 { 133 {
@@ -294,10 +298,7 @@ namespace OpenSim.Grid.UserServer
294 } 298 }
295 break; 299 break;
296 case "login-reset": 300 case "login-reset":
297 if (cmdparams.Length == 1) 301 m_loginService.setloginlevel(0);
298 {
299 m_loginService.setloginlevel(0);
300 }
301 break; 302 break;
302 case "login-text": 303 case "login-text":
303 if (cmdparams.Length == 1) 304 if (cmdparams.Length == 1)