mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
Made it impossible to create a user with names containing spaces and prevented passwords from being echoed after enter is pressed.
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
29708e47a5
commit
30306a775a
@@ -1159,8 +1159,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
while (m_regInfo.EstateSettings.EstateOwner == UUID.Zero && MainConsole.Instance != null)
|
||||
{
|
||||
MainConsole.Instance.Output("The current estate has no owner set.");
|
||||
string first = MainConsole.Instance.CmdPrompt("Estate owner first name", "Test");
|
||||
string last = MainConsole.Instance.CmdPrompt("Estate owner last name", "User");
|
||||
List<char> excluded = new List<char>(new char[1]{' '});
|
||||
string first = MainConsole.Instance.CmdPrompt("Estate owner first name", "Test", excluded);
|
||||
string last = MainConsole.Instance.CmdPrompt("Estate owner last name", "User", excluded);
|
||||
|
||||
UserAccount account = UserAccountService.GetUserAccount(m_regInfo.ScopeID, first, last);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user