aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
diff options
context:
space:
mode:
authorDiva Canto2010-04-05 19:56:03 -0700
committerDiva Canto2010-04-05 19:56:03 -0700
commit80346ad2e246a363dcf4c9a2819b52b1d7a0739c (patch)
tree0812abc8aa88ab3f07641ec6e302154924d4aaaa /OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
parent* In the async asset fetch method, cache check before firing any async code. ... (diff)
downloadopensim-SC_OLD-80346ad2e246a363dcf4c9a2819b52b1d7a0739c.zip
opensim-SC_OLD-80346ad2e246a363dcf4c9a2819b52b1d7a0739c.tar.gz
opensim-SC_OLD-80346ad2e246a363dcf4c9a2819b52b1d7a0739c.tar.bz2
opensim-SC_OLD-80346ad2e246a363dcf4c9a2819b52b1d7a0739c.tar.xz
* May fix mantis #4603.
* My local git wants to commit the groups files for line endings, I'm gonna let it do it.
Diffstat (limited to '')
-rw-r--r--OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
index c59ea28..5a23c90 100644
--- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
+++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
@@ -1012,7 +1012,6 @@ namespace OpenSim.ApplicationPlugins.RemoteController
1012 throw new Exception(String.Format("Account {0} {1} already exists", firstname, lastname)); 1012 throw new Exception(String.Format("Account {0} {1} already exists", firstname, lastname));
1013 1013
1014 account = new UserAccount(scopeID, firstname, lastname, email); 1014 account = new UserAccount(scopeID, firstname, lastname, email);
1015 // REFACTORING PROBLEM: no method to set the password!
1016 1015
1017 bool success = m_app.SceneManager.CurrentOrFirstScene.UserAccountService.StoreUserAccount(account); 1016 bool success = m_app.SceneManager.CurrentOrFirstScene.UserAccountService.StoreUserAccount(account);
1018 1017
@@ -1020,6 +1019,9 @@ namespace OpenSim.ApplicationPlugins.RemoteController
1020 throw new Exception(String.Format("failed to create new user {0} {1}", 1019 throw new Exception(String.Format("failed to create new user {0} {1}",
1021 firstname, lastname)); 1020 firstname, lastname));
1022 1021
1022 // Store the password
1023 m_app.SceneManager.CurrentOrFirstScene.AuthenticationService.SetPassword(account.PrincipalID, passwd);
1024
1023 GridRegion home = m_app.SceneManager.CurrentOrFirstScene.GridService.GetRegionByPosition(scopeID, 1025 GridRegion home = m_app.SceneManager.CurrentOrFirstScene.GridService.GetRegionByPosition(scopeID,
1024 (int)(regX * Constants.RegionSize), (int)(regY * Constants.RegionSize)); 1026 (int)(regX * Constants.RegionSize), (int)(regY * Constants.RegionSize));
1025 if (home == null) 1027 if (home == null)