mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-30 18:17:55 +00:00 
			
		
		
		
	| @@ -146,7 +146,7 @@ func (c *Logical) Unwrap(wrappingToken string) (*Secret, error) { | ||||
| 		return nil, nil | ||||
| 	} | ||||
|  | ||||
| 	if wrappingToken == "" { | ||||
| 	if wrappingToken != "" { | ||||
| 		origToken := c.c.Token() | ||||
| 		defer c.c.SetToken(origToken) | ||||
| 		c.c.SetToken(wrappingToken) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jeff Mitchell
					Jeff Mitchell