Fixing bug that occurs when using web login- the result was not checked

0.7.1-dev
SignpostMarv Martin 2011-03-24 16:21:12 +00:00 committed by Justin Clark-Casey (justincc)
parent 3bc859a834
commit e93531e124
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ namespace OpenSim.Services.AuthenticationService
m_log.DebugFormat("[Authenticate]: Web Login failed for PrincipalID {0}", principalID);
}
}
if (data.Data.ContainsKey("passwordHash") && data.Data.ContainsKey("passwordSalt"))
if (result == string.Empty && data.Data.ContainsKey("passwordHash") && data.Data.ContainsKey("passwordSalt"))
{
svc = ServerUtils.LoadPlugin<IAuthenticationService>("OpenSim.Services.AuthenticationService.dll", "PasswordAuthenticationService", args);
result = svc.Authenticate(principalID, password, lifetime);