* Allow create user on standalone even if authentication is off, in case the creator wants to see a starting region for a user

* This also resolves mantis 601
ThreadPoolClientBranch
Justin Clarke Casey 2008-02-18 15:23:18 +00:00
parent c62328950a
commit ad40ee7307
1 changed files with 3 additions and 9 deletions

View File

@ -342,11 +342,8 @@ namespace OpenSim
// Provides the LLSD login // Provides the LLSD login
m_httpServer.SetLLSDHandler(m_loginService.LLSDLoginMethod); m_httpServer.SetLLSDHandler(m_loginService.LLSDLoginMethod);
if (m_standaloneAuthenticate)
{
CreateAccount = localComms.doCreate; CreateAccount = localComms.doCreate;
} }
}
else else
{ {
// We are in grid mode // We are in grid mode
@ -706,7 +703,7 @@ namespace OpenSim
m_console.Notice(" alert general [Message] - send an alert to all users."); m_console.Notice(" alert general [Message] - send an alert to all users.");
m_console.Notice("backup - trigger a simulator backup"); m_console.Notice("backup - trigger a simulator backup");
m_console.Notice("clear-assets - clear asset cache"); m_console.Notice("clear-assets - clear asset cache");
m_console.Notice("create user - adds a new user"); m_console.Notice("create user - adds a new user.");
m_console.Notice("change-region [name] - sets the region that many of these commands affect."); m_console.Notice("change-region [name] - sets the region that many of these commands affect.");
m_console.Notice("command-script [filename] - Execute command in a file."); m_console.Notice("command-script [filename] - Execute command in a file.");
m_console.Notice("debug - debugging commands"); m_console.Notice("debug - debugging commands");
@ -838,10 +835,7 @@ namespace OpenSim
break; break;
case "create": case "create":
if (CreateAccount != null)
{
CreateAccount(cmdparams); CreateAccount(cmdparams);
}
break; break;
case "create-region": case "create-region":