Commit agent to DB immediately after creation, for LLSD logins too. Addresses mantis #3471. Requires upgrade of User Server in grid mode for this fix to kick in.

0.6.5-rc1
diva 2009-04-18 02:37:12 +00:00
parent 722be8f132
commit bc02eab4b9
1 changed files with 6 additions and 0 deletions

View File

@ -425,6 +425,12 @@ namespace OpenSim.Framework.Communications.Services
CreateAgent(userProfile, request);
// We need to commit the agent right here, even though the userProfile info is not complete
// at this point. There is another commit further down.
// This is for the new sessionID to be stored so that the region can check it for session authentication.
// CustomiseResponse->PrepareLoginToRegion
CommitAgent(ref userProfile);
try
{
UUID agentID = userProfile.ID;