Skip to content

Remove CaptureUserIdFromCookie middleware in favor accessing cookie directly #3280

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

Merged
merged 2 commits into from
Feb 16, 2021

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Feb 12, 2021

This PR resolves #2651

Unfortunately for this to work we have to use a few implementation details of conduit_cookie, but since we control the crate ourselves I guess this is a reasonable tradeoff. Ideally the conduit_cookie crate would export some kind of test helper function though.

r? @jtgeibel

/cc @jsha

@Turbo87 Turbo87 added the C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear label Feb 12, 2021
@jtgeibel
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Feb 16, 2021

📌 Commit f36e757 has been approved by jtgeibel

@bors
Copy link
Contributor

bors commented Feb 16, 2021

⌛ Testing commit f36e757 with merge 322ebf4...

@bors
Copy link
Contributor

bors commented Feb 16, 2021

☀️ Test successful - checks-actions
Approved by: jtgeibel
Pushing 322ebf4 to master...

@bors bors merged commit 322ebf4 into rust-lang:master Feb 16, 2021
@Turbo87 Turbo87 deleted the session-middleware branch February 16, 2021 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove current_user middleware in favor accessing cookie in authenticate
4 participants