aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Client/MXP
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs b/OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs
index 7eab7c5..332ff70 100644
--- a/OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs
+++ b/OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs
@@ -540,8 +540,8 @@ namespace OpenSim.Client.MXP.PacketHandler
540 password = password.Remove(0, 3); //remove $1$ 540 password = password.Remove(0, 3); //remove $1$
541 string s = Util.Md5Hash(password + ":" + userProfile.PasswordSalt); 541 string s = Util.Md5Hash(password + ":" + userProfile.PasswordSalt);
542 return (userProfile.PasswordHash.Equals(s.ToString(), StringComparison.InvariantCultureIgnoreCase) 542 return (userProfile.PasswordHash.Equals(s.ToString(), StringComparison.InvariantCultureIgnoreCase)
543 || userProfile.PasswordHash.Equals(password, StringComparison.InvariantCultureIgnoreCase)); 543 || userProfile.PasswordHash.Equals(password, StringComparison.InvariantCulture));
544 } 544 }
545 else 545 else
546 { 546 {
547 return true; 547 return true;