diff options
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.
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r-- | OpenSim/Framework/Communications/Services/LoginService.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Services/LoginService.cs b/OpenSim/Framework/Communications/Services/LoginService.cs index bb289e3..72a4281 100644 --- a/OpenSim/Framework/Communications/Services/LoginService.cs +++ b/OpenSim/Framework/Communications/Services/LoginService.cs | |||
@@ -425,6 +425,12 @@ namespace OpenSim.Framework.Communications.Services | |||
425 | 425 | ||
426 | CreateAgent(userProfile, request); | 426 | CreateAgent(userProfile, request); |
427 | 427 | ||
428 | // We need to commit the agent right here, even though the userProfile info is not complete | ||
429 | // at this point. There is another commit further down. | ||
430 | // This is for the new sessionID to be stored so that the region can check it for session authentication. | ||
431 | // CustomiseResponse->PrepareLoginToRegion | ||
432 | CommitAgent(ref userProfile); | ||
433 | |||
428 | try | 434 | try |
429 | { | 435 | { |
430 | UUID agentID = userProfile.ID; | 436 | UUID agentID = userProfile.ID; |