From 4bca697865d727f2e16e7233d92472fb9048c717 Mon Sep 17 00:00:00 2001 From: Melanie Date: Fri, 1 Jan 2010 18:08:02 +0000 Subject: Remove the inner Md5 to let the auth service handle md5 passwords --- OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs') diff --git a/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs b/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs index d65665a..ab50943 100644 --- a/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs +++ b/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs @@ -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) -- cgit v1.1