mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Remove the inner Md5 to let the auth service handle md5 passwords
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user