aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2010-01-01 18:08:02 +0000
committerMelanie2010-01-01 18:08:02 +0000
commit4bca697865d727f2e16e7233d92472fb9048c717 (patch)
tree057d3fecafe995f644565fb027baa60dec0f257d /OpenSim
parentAuth data migration. (diff)
downloadopensim-SC-4bca697865d727f2e16e7233d92472fb9048c717.zip
opensim-SC-4bca697865d727f2e16e7233d92472fb9048c717.tar.gz
opensim-SC-4bca697865d727f2e16e7233d92472fb9048c717.tar.bz2
opensim-SC-4bca697865d727f2e16e7233d92472fb9048c717.tar.xz
Remove the inner Md5 to let the auth service handle md5 passwords
Diffstat (limited to 'OpenSim')
-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)