OpenID auth needs hashing before authenticating

This commit is contained in:
BlueWall
2012-03-02 15:05:06 -05:00
parent 6fc350725d
commit d242d47e5c
2 changed files with 2 additions and 2 deletions

View File

@@ -248,7 +248,7 @@ For more information, see <a href='http://openid.net/'>http://openid.net/</a>.
if (passwordValues != null && passwordValues.Length == 1)
{
if (account != null &&
(m_authenticationService.Authenticate(account.PrincipalID, passwordValues[0], 30) != string.Empty))
(m_authenticationService.Authenticate(account.PrincipalID,Util.Md5Hash(passwordValues[0]), 30) != string.Empty))
authRequest.IsAuthenticated = true;
else
authRequest.IsAuthenticated = false;