Skip to content

Commit

Permalink
change session assignment from cache to fix concurrent issue in id to…
Browse files Browse the repository at this point in the history
…ken mutator
  • Loading branch information
pike1212 committed Apr 30, 2020
1 parent 61aa1e4 commit c8e6b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/mutate/mutator_hydrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (a *MutatorHydrator) Mutate(r *http.Request, session *authn.AuthenticationS
}

if cacheSession, ok := a.hydrateFromCache(cfg, session); ok {
*session = *cacheSession
session = cacheSession
return nil
}

Expand Down

0 comments on commit c8e6b3a

Please sign in to comment.