fix: useExisting in MemberRegistration
This commit is contained in:
		
							parent
							
								
									c74af2b960
								
							
						
					
					
						commit
						f0bc424168
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -72,7 +72,7 @@ class MemberRegistrationManager(object):
 | 
			
		|||
        if pfName is None:
 | 
			
		||||
            pfName = options(self.principalfolder_key,
 | 
			
		||||
                             (self.default_principalfolder,))[0]
 | 
			
		||||
        self.createPrincipal(pfName, userId, password, lastName, firstName)
 | 
			
		||||
        self.createPrincipal(pfName, userId, password, lastName, firstName, useExisting=useExisting)
 | 
			
		||||
        if len(groups)==0:
 | 
			
		||||
            groups = options(self.groups_key, ())
 | 
			
		||||
        self.setGroupsForPrincipal(pfName, userId,  groups=groups)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue