mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
Make cleartext authentication case sensitive. Thanks jhurliman for spotting this.
This commit is contained in:
@@ -126,7 +126,7 @@ namespace OpenSim.Services.AuthenticationService
|
||||
//m_log.Info("[LOGIN]: userprofile:" + profile.passwordHash + " SubCT:" + password);
|
||||
|
||||
passwordSuccess = (profile.PasswordHash.Equals(s.ToString(), StringComparison.InvariantCultureIgnoreCase)
|
||||
|| profile.PasswordHash.Equals(password, StringComparison.InvariantCultureIgnoreCase));
|
||||
|| profile.PasswordHash.Equals(password, StringComparison.InvariantCulture));
|
||||
|
||||
return passwordSuccess;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user