From 500d259c252f8c4f75c6f37e1067d57811426ddd Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 18 Feb 2008 15:50:18 +0000 Subject: * Do not allow a user to be created if one with the same name already exists --- OpenSim/Framework/Console/ConsoleBase.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Framework/Console') diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs index 829d6c7..63711f3 100644 --- a/OpenSim/Framework/Console/ConsoleBase.cs +++ b/OpenSim/Framework/Console/ConsoleBase.cs @@ -295,15 +295,15 @@ namespace OpenSim.Framework.Console } // Displays a prompt and waits for the user to enter a string, then returns that string - // Done with no echo and suitable for passwords + // (Done with no echo and suitable for passwords - currently disabled) public string PasswdPrompt(string prompt) { // FIXME: Needs to be better abstracted System.Console.WriteLine(String.Format("{0}: ", prompt)); - ConsoleColor oldfg = System.Console.ForegroundColor; - System.Console.ForegroundColor = System.Console.BackgroundColor; + //ConsoleColor oldfg = System.Console.ForegroundColor; + //System.Console.ForegroundColor = System.Console.BackgroundColor; string temp = System.Console.ReadLine(); - System.Console.ForegroundColor = oldfg; + //System.Console.ForegroundColor = oldfg; return temp; } -- cgit v1.1