* refactor: move ResetUserPassword into UserServiceAdmin
parent
7b49c711e9
commit
63851f1441
|
@ -252,18 +252,6 @@ namespace OpenSim.Framework.Communications
|
|||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Reset a user password
|
||||
/// </summary>
|
||||
/// <param name="firstName"></param>
|
||||
/// <param name="lastName"></param>
|
||||
/// <param name="newPassword"></param>
|
||||
/// <returns>true if the update was successful, false otherwise</returns>
|
||||
public bool ResetUserPassword(string firstName, string lastName, string newPassword)
|
||||
{
|
||||
return m_userServiceAdmin.ResetUserPassword(firstName, lastName, newPassword);
|
||||
}
|
||||
|
||||
#region Friend Methods
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -73,7 +73,6 @@ namespace OpenSim
|
|||
base.StartupSpecific();
|
||||
}
|
||||
|
||||
|
||||
protected override void InitialiseStandaloneServices(LibraryRootFolder libraryRootFolder)
|
||||
{
|
||||
// Standalone mode
|
||||
|
|
|
@ -830,7 +830,7 @@ namespace OpenSim
|
|||
newPassword = MainConsole.Instance.PasswdPrompt("New password");
|
||||
else newPassword = cmdparams[4];
|
||||
|
||||
m_commsManager.ResetUserPassword(firstName, lastName, newPassword);
|
||||
m_commsManager.UserServiceAdmin.ResetUserPassword(firstName, lastName, newPassword);
|
||||
}
|
||||
|
||||
protected void SaveXml(string[] cmdparams)
|
||||
|
|
Loading…
Reference in New Issue