diff options
author | John Hurliman | 2010-09-03 13:37:30 -0700 |
---|---|---|
committer | John Hurliman | 2010-09-03 13:37:30 -0700 |
commit | 83f6550bcca7d246de2d850f70a346070c4cc745 (patch) | |
tree | 84c4d672490028659302da323e8daede4af79ac6 | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
parent | Add another variant of password hash construction to SimianAuthenticationServ... (diff) | |
download | opensim-SC-83f6550bcca7d246de2d850f70a346070c4cc745.zip opensim-SC-83f6550bcca7d246de2d850f70a346070c4cc745.tar.gz opensim-SC-83f6550bcca7d246de2d850f70a346070c4cc745.tar.bz2 opensim-SC-83f6550bcca7d246de2d850f70a346070c4cc745.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs index 7f48bbd..f1c2575 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianAuthenticationServiceConnector.cs | |||
@@ -1,4 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) Contributors, http://opensimulator.org/ | 2 | * Copyright (c) Contributors, http://opensimulator.org/ |
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | 3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. |
4 | * | 4 | * |
@@ -249,7 +249,8 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
249 | if (password == simianGridCredential || | 249 | if (password == simianGridCredential || |
250 | "$1$" + password == simianGridCredential || | 250 | "$1$" + password == simianGridCredential || |
251 | "$1$" + Utils.MD5String(password) == simianGridCredential || | 251 | "$1$" + Utils.MD5String(password) == simianGridCredential || |
252 | Utils.MD5String(password) == simianGridCredential) | 252 | Utils.MD5String(password) == simianGridCredential || |
253 | "$1$" + Utils.MD5String(password + ":") == simianGridCredential) | ||
253 | { | 254 | { |
254 | authorizeResult = Authorize(userID); | 255 | authorizeResult = Authorize(userID); |
255 | return true; | 256 | return true; |