aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/UserManagerBase.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-09-25 08:42:48 +0000
committerTeravus Ovares2008-09-25 08:42:48 +0000
commit17be1b736d438273aa634943629b7f892503744d (patch)
tree5049b36a26897be3fc186754659c9c5e0b5f1423 /OpenSim/Framework/Communications/UserManagerBase.cs
parentupdate HttpServer.dll to r15903 (diff)
downloadopensim-SC_OLD-17be1b736d438273aa634943629b7f892503744d.zip
opensim-SC_OLD-17be1b736d438273aa634943629b7f892503744d.tar.gz
opensim-SC_OLD-17be1b736d438273aa634943629b7f892503744d.tar.bz2
opensim-SC_OLD-17be1b736d438273aa634943629b7f892503744d.tar.xz
* In Standalone, add a persistant account for the OGP user.
* Gridmode, this has no effect at all.
Diffstat (limited to 'OpenSim/Framework/Communications/UserManagerBase.cs')
-rw-r--r--OpenSim/Framework/Communications/UserManagerBase.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs
index 46a9b67..b7f9f5a 100644
--- a/OpenSim/Framework/Communications/UserManagerBase.cs
+++ b/OpenSim/Framework/Communications/UserManagerBase.cs
@@ -546,9 +546,14 @@ namespace OpenSim.Framework.Communications
546 /// <param name="user"></param> 546 /// <param name="user"></param>
547 public UUID AddUserProfile(string firstName, string lastName, string pass, uint regX, uint regY) 547 public UUID AddUserProfile(string firstName, string lastName, string pass, uint regX, uint regY)
548 { 548 {
549 return AddUserProfile(firstName, lastName, pass, regX, regY, UUID.Random());
550 }
551
552 public UUID AddUserProfile(string firstName, string lastName, string pass, uint regX, uint regY, UUID SetUUID)
553 {
549 UserProfileData user = new UserProfileData(); 554 UserProfileData user = new UserProfileData();
550 user.HomeLocation = new Vector3(128, 128, 100); 555 user.HomeLocation = new Vector3(128, 128, 100);
551 user.ID = UUID.Random(); 556 user.ID = SetUUID;
552 user.FirstName = firstName; 557 user.FirstName = firstName;
553 user.SurName = lastName; 558 user.SurName = lastName;
554 user.PasswordHash = pass; 559 user.PasswordHash = pass;
@@ -572,7 +577,7 @@ namespace OpenSim.Framework.Communications
572 577
573 return user.ID; 578 return user.ID;
574 } 579 }
575 580
576 /// <summary> 581 /// <summary>
577 /// Reset a user password 582 /// Reset a user password
578 /// </summary> 583 /// </summary>