diff options
author | Charles Krinke | 2008-10-06 14:02:42 +0000 |
---|---|---|
committer | Charles Krinke | 2008-10-06 14:02:42 +0000 |
commit | f2ec151328a34bf9c2e20e2e6ff2695e69e91f69 (patch) | |
tree | b6f4cad4f7e0f120fce57b7406d4df16501a5fd1 /OpenSim/Grid | |
parent | adds admin_exists_user XmlRpc call. (diff) | |
download | opensim-SC_OLD-f2ec151328a34bf9c2e20e2e6ff2695e69e91f69.zip opensim-SC_OLD-f2ec151328a34bf9c2e20e2e6ff2695e69e91f69.tar.gz opensim-SC_OLD-f2ec151328a34bf9c2e20e2e6ff2695e69e91f69.tar.bz2 opensim-SC_OLD-f2ec151328a34bf9c2e20e2e6ff2695e69e91f69.tar.xz |
Mantis#2340. Thank you kindly, Sacha Magne for a patch that:
adding default_loginLevel in USerServer.xml to set a default
login level to acces to the grid. Fixing one bug in login_reset
Diffstat (limited to 'OpenSim/Grid')
-rw-r--r-- | OpenSim/Grid/UserServer/Main.cs | 9 |
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) |