mirror of
				https://github.com/dani-garcia/vaultwarden.git
				synced 2025-10-31 13:51:14 +00:00 
			
		
		
		
	Improve org mismatch check, consider different orgs
This commit is contained in:
		
					parent
					
						
							
								484bf5b703
							
						
					
				
			
			
				commit
				
					
						432be274ba
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -221,7 +221,7 @@ pub fn update_cipher_from_data( | |||
|     nt: &Notify, | ||||
|     ut: UpdateType, | ||||
| ) -> EmptyResult { | ||||
|     if cipher.organization_uuid.is_some() && data.OrganizationId.is_none() { | ||||
|     if cipher.organization_uuid != data.OrganizationId { | ||||
|         err!("Organization mismatch. Please resync the client before updating the cipher") | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue