Skip to content

Commit

Permalink
fix: wrong context in logout trace span (#3168)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas committed Mar 15, 2023
1 parent ddea641 commit b9ccccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session/manager_http.go
Expand Up @@ -203,7 +203,7 @@ func (s *ManagerHTTP) FetchFromRequest(ctx context.Context, r *http.Request) (_
}
}()

token := s.extractToken(r)
token := s.extractToken(r.WithContext(ctx))
if token == "" {
return nil, errors.WithStack(NewErrNoCredentialsForSession())
}
Expand Down

0 comments on commit b9ccccf

Please sign in to comment.