From 3c261876a15621fd3b38d150f763044602a6892d Mon Sep 17 00:00:00 2001 From: mingchen Date: Tue, 5 Jun 2007 00:26:37 +0000 Subject: *Cleaned up Configuration Setup questions *Added Configuration option for Master User Avatar name and (in sandbox mode) password *Added support for Master User in sandbox mode. Support lacks for grid mode still. **Grid support is possible when remotely fetching avatar data by name and UUID is available *Currently lacks parcel buying support. For now, in sandbox mode, log into master user information to own the parcel --- Common/OpenSim.Servers/LoginServer.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Common/OpenSim.Servers/LoginServer.cs') diff --git a/Common/OpenSim.Servers/LoginServer.cs b/Common/OpenSim.Servers/LoginServer.cs index 6fd174b..7ee8ae2 100644 --- a/Common/OpenSim.Servers/LoginServer.cs +++ b/Common/OpenSim.Servers/LoginServer.cs @@ -254,9 +254,16 @@ namespace OpenSim.UserServer string mdPassword = EncodePassword(password); Console.WriteLine("with password: " + mdPassword); this.userManager.CreateNewProfile(firstName, lastName, mdPassword); + return true; } + public UserProfile GetProfileByName(string firstName, string lastName) + { + return this.userManager.GetProfileByName(firstName, lastName); + } + + //IUserServer implementation public AgentInventory RequestAgentsInventory(LLUUID agentID) { -- cgit v1.1