diff options
author | Dahlia Trimble | 2009-06-27 07:49:10 +0000 |
---|---|---|
committer | Dahlia Trimble | 2009-06-27 07:49:10 +0000 |
commit | 147c9bcd453fde74c13a83a323a40ec0bb571c01 (patch) | |
tree | 7592ca11178cbf9f15971741ddf80eb7f7b7b82e /OpenSim/Client/Linden | |
parent | Update svn properties. (diff) | |
download | opensim-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/Client/Linden')
-rw-r--r-- | OpenSim/Client/Linden/LLStandaloneLoginService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Client/Linden/LLStandaloneLoginService.cs b/OpenSim/Client/Linden/LLStandaloneLoginService.cs index 6d8586d..2a13502 100644 --- a/OpenSim/Client/Linden/LLStandaloneLoginService.cs +++ b/OpenSim/Client/Linden/LLStandaloneLoginService.cs | |||
@@ -119,7 +119,7 @@ namespace OpenSim.Client.Linden | |||
119 | string s = Util.Md5Hash(password + ":" + profile.PasswordSalt); | 119 | string s = Util.Md5Hash(password + ":" + profile.PasswordSalt); |
120 | 120 | ||
121 | bool loginresult = (profile.PasswordHash.Equals(s.ToString(), StringComparison.InvariantCultureIgnoreCase) | 121 | bool loginresult = (profile.PasswordHash.Equals(s.ToString(), StringComparison.InvariantCultureIgnoreCase) |
122 | || profile.PasswordHash.Equals(password, StringComparison.InvariantCultureIgnoreCase)); | 122 | || profile.PasswordHash.Equals(password, StringComparison.InvariantCulture)); |
123 | return loginresult; | 123 | return loginresult; |
124 | } | 124 | } |
125 | } | 125 | } |