aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorBlueWall2012-02-29 14:39:51 -0500
committerBlueWall2012-02-29 14:39:51 -0500
commitafc9a7d3f937d58fb8c48c498d3526d1746ce514 (patch)
treed2b373e1c95e8628fcfb81920e8a5bd8d4ab20ec /OpenSim
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim into v3_support (diff)
parentFix authentication for OpenID provider (diff)
downloadopensim-SC_OLD-afc9a7d3f937d58fb8c48c498d3526d1746ce514.zip
opensim-SC_OLD-afc9a7d3f937d58fb8c48c498d3526d1746ce514.tar.gz
opensim-SC_OLD-afc9a7d3f937d58fb8c48c498d3526d1746ce514.tar.bz2
opensim-SC_OLD-afc9a7d3f937d58fb8c48c498d3526d1746ce514.tar.xz
Merge branch 'master' of /home/opensim/src/opensim into v3_support
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs b/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs
index 48eb3f8..da19b2e 100644
--- a/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs
+++ b/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs
@@ -78,9 +78,9 @@ namespace OpenSim.Services.AuthenticationService
78 } 78 }
79 else 79 else
80 { 80 {
81 string hashed = Util.Md5Hash(password + ":" + data.Data["passwordSalt"].ToString()); 81 string hashed = Util.Md5Hash(Util.Md5Hash(password) + ":" + data.Data["passwordSalt"].ToString());
82 82
83 //m_log.DebugFormat("[PASS AUTH]: got {0}; hashed = {1}; stored = {2}", password, hashed, data.Data["passwordHash"].ToString()); 83 // m_log.DebugFormat("[PASS AUTH]: got {0}; hashed = {1}; stored = {2}; passonly {3}", password, hashed, data.Data["passwordHash"].ToString(), hashed2);
84 84
85 if (data.Data["passwordHash"].ToString() == hashed) 85 if (data.Data["passwordHash"].ToString() == hashed)
86 { 86 {