diff options
author | BlueWall | 2012-03-02 15:05:06 -0500 |
---|---|---|
committer | BlueWall | 2012-03-02 15:05:06 -0500 |
commit | d242d47e5cf1274225091e843e065366a3620c14 (patch) | |
tree | c634f6547a0ba3eb39d7634086daf9fc2a18fd99 /OpenSim/Server/Handlers/Authentication/OpenIdServerHandler.cs | |
parent | Merge branch 'master' into v3_support (diff) | |
download | opensim-SC-d242d47e5cf1274225091e843e065366a3620c14.zip opensim-SC-d242d47e5cf1274225091e843e065366a3620c14.tar.gz opensim-SC-d242d47e5cf1274225091e843e065366a3620c14.tar.bz2 opensim-SC-d242d47e5cf1274225091e843e065366a3620c14.tar.xz |
OpenID auth needs hashing before authenticating
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/Handlers/Authentication/OpenIdServerHandler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Server/Handlers/Authentication/OpenIdServerHandler.cs b/OpenSim/Server/Handlers/Authentication/OpenIdServerHandler.cs index 440b898..dfed761 100644 --- a/OpenSim/Server/Handlers/Authentication/OpenIdServerHandler.cs +++ b/OpenSim/Server/Handlers/Authentication/OpenIdServerHandler.cs | |||
@@ -248,7 +248,7 @@ For more information, see <a href='http://openid.net/'>http://openid.net/</a>. | |||
248 | if (passwordValues != null && passwordValues.Length == 1) | 248 | if (passwordValues != null && passwordValues.Length == 1) |
249 | { | 249 | { |
250 | if (account != null && | 250 | if (account != null && |
251 | (m_authenticationService.Authenticate(account.PrincipalID, passwordValues[0], 30) != string.Empty)) | 251 | (m_authenticationService.Authenticate(account.PrincipalID,Util.Md5Hash(passwordValues[0]), 30) != string.Empty)) |
252 | authRequest.IsAuthenticated = true; | 252 | authRequest.IsAuthenticated = true; |
253 | else | 253 | else |
254 | authRequest.IsAuthenticated = false; | 254 | authRequest.IsAuthenticated = false; |