diff options
Diffstat (limited to 'OpenSim/Services/AuthenticationService/AuthenticationService.cs')
-rw-r--r-- | OpenSim/Services/AuthenticationService/AuthenticationService.cs | 2 |
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 | } |