mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Fixing bug that occurs when using web login- the result was not checked
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
3bc859a834
commit
e93531e124
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user