Skip to content

Commit

Permalink
backport of commit 135240d (#22573)
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Palmiotto <[email protected]>
  • Loading branch information
hc-github-team-secure-vault-core and mpalmi authored Aug 25, 2023
1 parent 619bf67 commit a360f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vault/request_handling.go
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ func (c *Core) CheckToken(ctx context.Context, req *logical.Request, unauth bool
c.activityLogLock.RUnlock()
// If it is an authenticated ( i.e. with vault token ) request, increment client count
if !unauth && activityLog != nil {
err := c.activityLog.HandleTokenUsage(ctx, te, clientID, isTWE)
err := activityLog.HandleTokenUsage(ctx, te, clientID, isTWE)
if err != nil {
return auth, te, err
}
Expand Down

0 comments on commit a360f12

Please sign in to comment.