aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Communications/Services/HGLoginAuthService.cs2
-rw-r--r--OpenSim/Framework/Communications/Services/LoginService.cs4
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/Services/HGLoginAuthService.cs b/OpenSim/Framework/Communications/Services/HGLoginAuthService.cs
index 3ab9b38..d3f813e 100644
--- a/OpenSim/Framework/Communications/Services/HGLoginAuthService.cs
+++ b/OpenSim/Framework/Communications/Services/HGLoginAuthService.cs
@@ -234,7 +234,7 @@ namespace OpenSim.Framework.Communications.Services
234 string s = Util.Md5Hash(password + ":" + profile.PasswordSalt); 234 string s = Util.Md5Hash(password + ":" + profile.PasswordSalt);
235 235
236 bool loginresult = (profile.PasswordHash.Equals(s.ToString(), StringComparison.InvariantCultureIgnoreCase) 236 bool loginresult = (profile.PasswordHash.Equals(s.ToString(), StringComparison.InvariantCultureIgnoreCase)
237 || profile.PasswordHash.Equals(password, StringComparison.InvariantCultureIgnoreCase)); 237 || profile.PasswordHash.Equals(password, StringComparison.InvariantCulture));
238 return loginresult; 238 return loginresult;
239 } 239 }
240 } 240 }
diff --git a/OpenSim/Framework/Communications/Services/LoginService.cs b/OpenSim/Framework/Communications/Services/LoginService.cs
index 7eb98d7..897c763 100644
--- a/OpenSim/Framework/Communications/Services/LoginService.cs
+++ b/OpenSim/Framework/Communications/Services/LoginService.cs
@@ -769,8 +769,8 @@ namespace OpenSim.Framework.Communications.Services
769 //m_log.Info("[LOGIN]: userprofile:" + profile.passwordHash + " SubCT:" + password); 769 //m_log.Info("[LOGIN]: userprofile:" + profile.passwordHash + " SubCT:" + password);
770 770
771 passwordSuccess = (profile.PasswordHash.Equals(s.ToString(), StringComparison.InvariantCultureIgnoreCase) 771 passwordSuccess = (profile.PasswordHash.Equals(s.ToString(), StringComparison.InvariantCultureIgnoreCase)
772 || profile.PasswordHash.Equals(password, StringComparison.InvariantCultureIgnoreCase)); 772 || profile.PasswordHash.Equals(password, StringComparison.InvariantCulture));
773 773
774 return passwordSuccess; 774 return passwordSuccess;
775 } 775 }
776 776