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

slimupdates
Melanie 2010-01-01 18:08:02 +00:00
parent c540c93b54
commit 4bca697865
1 changed files with 1 additions and 1 deletions

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)