aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs
diff options
context:
space:
mode:
authorMelanie2010-01-01 18:08:02 +0000
committerMelanie2010-01-01 18:08:02 +0000
commit4bca697865d727f2e16e7233d92472fb9048c717 (patch)
tree057d3fecafe995f644565fb027baa60dec0f257d /OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs
parentAuth data migration. (diff)
downloadopensim-SC_OLD-4bca697865d727f2e16e7233d92472fb9048c717.zip
opensim-SC_OLD-4bca697865d727f2e16e7233d92472fb9048c717.tar.gz
opensim-SC_OLD-4bca697865d727f2e16e7233d92472fb9048c717.tar.bz2
opensim-SC_OLD-4bca697865d727f2e16e7233d92472fb9048c717.tar.xz
Remove the inner Md5 to let the auth service handle md5 passwords
Diffstat (limited to 'OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs')
-rw-r--r--OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs2
1 files changed, 1 insertions, 1 deletions
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
66 return String.Empty; 66 return String.Empty;
67 } 67 }
68 68
69 string hashed = Util.Md5Hash(Util.Md5Hash(password) + ":" + 69 string hashed = Util.Md5Hash(password + ":" +
70 data.Data["passwordSalt"].ToString()); 70 data.Data["passwordSalt"].ToString());
71 71
72 if (data.Data["passwordHash"].ToString() == hashed) 72 if (data.Data["passwordHash"].ToString() == hashed)