Remove the inner Md5 to let the auth service handle md5 passwords

This commit is contained in:
Melanie
2010-01-01 18:08:02 +00:00
parent c540c93b54
commit 4bca697865

View File

@@ -66,7 +66,7 @@ namespace OpenSim.Services.AuthenticationService
return String.Empty;
}
string hashed = Util.Md5Hash(Util.Md5Hash(password) + ":" +
string hashed = Util.Md5Hash(password + ":" +
data.Data["passwordSalt"].ToString());
if (data.Data["passwordHash"].ToString() == hashed)