Remove the inner Md5 to let the auth service handle md5 passwords
parent
c540c93b54
commit
4bca697865
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue