I dub thee working. Maybe.

This commit is contained in:
Adam Frisby
2007-05-04 04:11:59 +00:00
parent dced1d3df9
commit 89a6d6bab7
2 changed files with 8 additions and 6 deletions

View File

@@ -48,7 +48,9 @@ namespace OpenGrid.Framework.Data.MySQL
if (throwHissyFit)
throw new Exception("CRYPTOWEAK AUTHENTICATE: Refusing to authenticate due to replay potential.");
return true;
SimProfileData data = GetProfileByLLUUID(uuid);
return (handle == data.regionHandle && authkey == data.regionSecret);
}
/// <summary>