Skip to content

Commit

Permalink
Update request_handling.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferai committed Dec 3, 2018
1 parent 04cd15c commit 3aad6e7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions vault/request_handling.go
Expand Up @@ -373,10 +373,7 @@ func (c *Core) HandleRequest(httpCtx context.Context, req *logical.Request) (res

resp, err = c.handleCancelableRequest(ctx, ns, req)

if req != nil {
req.SetTokenEntry(nil)
}

req.SetTokenEntry(nil)
cancel()
c.stateLock.RUnlock()
return resp, err
Expand Down

0 comments on commit 3aad6e7

Please sign in to comment.