From de2432b73e7029661c6afc1999bc8b5eab521997 Mon Sep 17 00:00:00 2001 From: Brian McBee Date: Wed, 22 Aug 2007 05:00:25 +0000 Subject: [PATCH] Fix for un-encrypted master avatar password in user database --- OpenSim/Framework/General/Types/RegionInfo.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Framework/General/Types/RegionInfo.cs b/OpenSim/Framework/General/Types/RegionInfo.cs index aa391c08ea..c567aa6a94 100644 --- a/OpenSim/Framework/General/Types/RegionInfo.cs +++ b/OpenSim/Framework/General/Types/RegionInfo.cs @@ -269,7 +269,8 @@ namespace OpenSim.Framework.Types this.MasterAvatarLastName = (string)configuration_result; break; case "master_avatar_pass": - this.MasterAvatarSandboxPassword = (string)configuration_result; + string tempMD5Passwd = (string)configuration_result; + this.MasterAvatarSandboxPassword = Util.Md5Hash(Util.Md5Hash(tempMD5Passwd) + ":" + ""); break; }