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.
							parent
							
								
									722be8f132
								
							
						
					
					
						commit
						bc02eab4b9
					
				| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue