aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/CommunicationsManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/CommunicationsManager.cs')
-rw-r--r--OpenSim/Framework/Communications/CommunicationsManager.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/CommunicationsManager.cs b/OpenSim/Framework/Communications/CommunicationsManager.cs
index 1ac5fe4..27cdd35 100644
--- a/OpenSim/Framework/Communications/CommunicationsManager.cs
+++ b/OpenSim/Framework/Communications/CommunicationsManager.cs
@@ -98,6 +98,11 @@ namespace OpenSim.Framework.Communications
98 get { return m_networkServersInfo; } 98 get { return m_networkServersInfo; }
99 } 99 }
100 protected NetworkServersInfo m_networkServersInfo; 100 protected NetworkServersInfo m_networkServersInfo;
101
102 /// <summary>
103 /// Interface to administrative user service calls.
104 /// </summary>
105 protected IUserServiceAdmin m_userServiceAdmin;
101 106
102 /// <summary> 107 /// <summary>
103 /// Constructor 108 /// Constructor
@@ -243,7 +248,7 @@ namespace OpenSim.Framework.Communications
243 { 248 {
244 string md5PasswdHash = Util.Md5Hash(Util.Md5Hash(password) + ":" + String.Empty); 249 string md5PasswdHash = Util.Md5Hash(Util.Md5Hash(password) + ":" + String.Empty);
245 250
246 m_userService.AddUserProfile(firstName, lastName, md5PasswdHash, regX, regY); 251 m_userServiceAdmin.AddUserProfile(firstName, lastName, md5PasswdHash, regX, regY);
247 UserProfileData userProf = UserService.GetUserProfile(firstName, lastName); 252 UserProfileData userProf = UserService.GetUserProfile(firstName, lastName);
248 if (userProf == null) 253 if (userProf == null)
249 { 254 {
@@ -266,7 +271,7 @@ namespace OpenSim.Framework.Communications
266 /// <returns>true if the update was successful, false otherwise</returns> 271 /// <returns>true if the update was successful, false otherwise</returns>
267 public bool ResetUserPassword(string firstName, string lastName, string newPassword) 272 public bool ResetUserPassword(string firstName, string lastName, string newPassword)
268 { 273 {
269 return m_userService.ResetUserPassword(firstName, lastName, newPassword); 274 return m_userServiceAdmin.ResetUserPassword(firstName, lastName, newPassword);
270 } 275 }
271 276
272 #region Friend Methods 277 #region Friend Methods