aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-28 15:47:01 +0000
committerJustin Clarke Casey2008-11-28 15:47:01 +0000
commit63851f14417e8027d51150daa93413b1bc6888ed (patch)
treea389dc1722f81cbe032cb79be2377eb27790abdc
parent* minor: Eliminate unused paramter in LocalUserServices constructors (diff)
downloadopensim-SC_OLD-63851f14417e8027d51150daa93413b1bc6888ed.zip
opensim-SC_OLD-63851f14417e8027d51150daa93413b1bc6888ed.tar.gz
opensim-SC_OLD-63851f14417e8027d51150daa93413b1bc6888ed.tar.bz2
opensim-SC_OLD-63851f14417e8027d51150daa93413b1bc6888ed.tar.xz
* refactor: move ResetUserPassword into UserServiceAdmin
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Communications/CommunicationsManager.cs12
-rw-r--r--OpenSim/Region/Application/HGOpenSimNode.cs1
-rw-r--r--OpenSim/Region/Application/OpenSim.cs2
3 files changed, 1 insertions, 14 deletions
diff --git a/OpenSim/Framework/Communications/CommunicationsManager.cs b/OpenSim/Framework/Communications/CommunicationsManager.cs
index a5ead3f..c4adfa5 100644
--- a/OpenSim/Framework/Communications/CommunicationsManager.cs
+++ b/OpenSim/Framework/Communications/CommunicationsManager.cs
@@ -251,18 +251,6 @@ namespace OpenSim.Framework.Communications
251 } 251 }
252 252
253 #endregion 253 #endregion
254
255 /// <summary>
256 /// Reset a user password
257 /// </summary>
258 /// <param name="firstName"></param>
259 /// <param name="lastName"></param>
260 /// <param name="newPassword"></param>
261 /// <returns>true if the update was successful, false otherwise</returns>
262 public bool ResetUserPassword(string firstName, string lastName, string newPassword)
263 {
264 return m_userServiceAdmin.ResetUserPassword(firstName, lastName, newPassword);
265 }
266 254
267 #region Friend Methods 255 #region Friend Methods
268 256
diff --git a/OpenSim/Region/Application/HGOpenSimNode.cs b/OpenSim/Region/Application/HGOpenSimNode.cs
index 8f6fd5e..4f355cf 100644
--- a/OpenSim/Region/Application/HGOpenSimNode.cs
+++ b/OpenSim/Region/Application/HGOpenSimNode.cs
@@ -73,7 +73,6 @@ namespace OpenSim
73 base.StartupSpecific(); 73 base.StartupSpecific();
74 } 74 }
75 75
76
77 protected override void InitialiseStandaloneServices(LibraryRootFolder libraryRootFolder) 76 protected override void InitialiseStandaloneServices(LibraryRootFolder libraryRootFolder)
78 { 77 {
79 // Standalone mode 78 // Standalone mode
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index d29d0e4..316cad5 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -830,7 +830,7 @@ namespace OpenSim
830 newPassword = MainConsole.Instance.PasswdPrompt("New password"); 830 newPassword = MainConsole.Instance.PasswdPrompt("New password");
831 else newPassword = cmdparams[4]; 831 else newPassword = cmdparams[4];
832 832
833 m_commsManager.ResetUserPassword(firstName, lastName, newPassword); 833 m_commsManager.UserServiceAdmin.ResetUserPassword(firstName, lastName, newPassword);
834 } 834 }
835 835
836 protected void SaveXml(string[] cmdparams) 836 protected void SaveXml(string[] cmdparams)