aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/General
diff options
context:
space:
mode:
authorBrian McBee2007-08-22 05:00:25 +0000
committerBrian McBee2007-08-22 05:00:25 +0000
commitde2432b73e7029661c6afc1999bc8b5eab521997 (patch)
tree212f03d9d31f7778989454de299cbb225e8b2488 /OpenSim/Framework/General
parentauto create sqlite database if it doesn't exist. This works, but needs some (diff)
downloadopensim-SC_OLD-de2432b73e7029661c6afc1999bc8b5eab521997.zip
opensim-SC_OLD-de2432b73e7029661c6afc1999bc8b5eab521997.tar.gz
opensim-SC_OLD-de2432b73e7029661c6afc1999bc8b5eab521997.tar.bz2
opensim-SC_OLD-de2432b73e7029661c6afc1999bc8b5eab521997.tar.xz
Fix for un-encrypted master avatar password in user database
Diffstat (limited to 'OpenSim/Framework/General')
-rw-r--r--OpenSim/Framework/General/Types/RegionInfo.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/General/Types/RegionInfo.cs b/OpenSim/Framework/General/Types/RegionInfo.cs
index aa391c0..c567aa6 100644
--- a/OpenSim/Framework/General/Types/RegionInfo.cs
+++ b/OpenSim/Framework/General/Types/RegionInfo.cs
@@ -269,7 +269,8 @@ namespace OpenSim.Framework.Types
269 this.MasterAvatarLastName = (string)configuration_result; 269 this.MasterAvatarLastName = (string)configuration_result;
270 break; 270 break;
271 case "master_avatar_pass": 271 case "master_avatar_pass":
272 this.MasterAvatarSandboxPassword = (string)configuration_result; 272 string tempMD5Passwd = (string)configuration_result;
273 this.MasterAvatarSandboxPassword = Util.Md5Hash(Util.Md5Hash(tempMD5Passwd) + ":" + "");
273 break; 274 break;
274 } 275 }
275 276