aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/AuthenticationService
diff options
context:
space:
mode:
authorDahlia Trimble2009-06-27 07:49:10 +0000
committerDahlia Trimble2009-06-27 07:49:10 +0000
commit147c9bcd453fde74c13a83a323a40ec0bb571c01 (patch)
tree7592ca11178cbf9f15971741ddf80eb7f7b7b82e /OpenSim/Services/AuthenticationService
parentUpdate svn properties. (diff)
downloadopensim-SC_OLD-147c9bcd453fde74c13a83a323a40ec0bb571c01.zip
opensim-SC_OLD-147c9bcd453fde74c13a83a323a40ec0bb571c01.tar.gz
opensim-SC_OLD-147c9bcd453fde74c13a83a323a40ec0bb571c01.tar.bz2
opensim-SC_OLD-147c9bcd453fde74c13a83a323a40ec0bb571c01.tar.xz
Make cleartext authentication case sensitive. Thanks jhurliman for spotting this.
Diffstat (limited to 'OpenSim/Services/AuthenticationService')
-rw-r--r--OpenSim/Services/AuthenticationService/AuthenticationService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/AuthenticationService/AuthenticationService.cs b/OpenSim/Services/AuthenticationService/AuthenticationService.cs
index 6eaf0b0..06f0e8f 100644
--- a/OpenSim/Services/AuthenticationService/AuthenticationService.cs
+++ b/OpenSim/Services/AuthenticationService/AuthenticationService.cs
@@ -126,7 +126,7 @@ namespace OpenSim.Services.AuthenticationService
126 //m_log.Info("[LOGIN]: userprofile:" + profile.passwordHash + " SubCT:" + password); 126 //m_log.Info("[LOGIN]: userprofile:" + profile.passwordHash + " SubCT:" + password);
127 127
128 passwordSuccess = (profile.PasswordHash.Equals(s.ToString(), StringComparison.InvariantCultureIgnoreCase) 128 passwordSuccess = (profile.PasswordHash.Equals(s.ToString(), StringComparison.InvariantCultureIgnoreCase)
129 || profile.PasswordHash.Equals(password, StringComparison.InvariantCultureIgnoreCase)); 129 || profile.PasswordHash.Equals(password, StringComparison.InvariantCulture));
130 130
131 return passwordSuccess; 131 return passwordSuccess;
132 } 132 }