Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restores X-Clay-User header value #1506

Merged
merged 1 commit into from
Dec 7, 2020
Merged

restores X-Clay-User header value #1506

merged 1 commit into from
Dec 7, 2020

Conversation

mattoberle
Copy link
Contributor

Somewhere way back in #744 a new header called X-Clay-User was added to help audit request activity.
A refactor later on wiped out this feature, leaving only references to the functionality through an unused username positional argument.

This commit restores the X-Clay-User header by (safely) pulling it from the global state.

@mattoberle mattoberle added the bug label Dec 7, 2020
@coveralls
Copy link

coveralls commented Dec 7, 2020

Coverage Status

Coverage remained the same at 35.078% when pulling 537dc70 on x-clay-user into 73fbcf2 on master.

Somewhere way back in (PR744)[#744] a new header called
`X-Clay-User` was added to help audit request activity. A refactor
later on wiped out this feature, instead only maintaining references to
the functionality through an unused `username` positional argument.

This commit restores the `X-Clay-User` header by (safely) pulling it
from the global state.
@mattoberle mattoberle merged commit ec61f62 into master Dec 7, 2020
@mattoberle mattoberle deleted the x-clay-user branch December 7, 2020 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants