Skip to content

Add DELETE /tokens/current endpoint #2676

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 1 commit into from
Jul 6, 2021
Merged

Conversation

mibac138
Copy link
Contributor

@mibac138 mibac138 commented Aug 8, 2020

Fixes #2653

@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @sgrif (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@mibac138
Copy link
Contributor Author

ping @sgrif

@JohnTitor
Copy link
Member

r? @jtgeibel to review/re-assign, as Siân is no longer a team member.

@rust-highfive rust-highfive assigned jtgeibel and unassigned sgrif Dec 1, 2020
@mibac138 mibac138 force-pushed the master branch 3 times, most recently from 67bd9e1 to a6c6c70 Compare December 10, 2020 15:11
@Turbo87 Turbo87 added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-backend ⚙️ labels Feb 11, 2021
@bors
Copy link
Contributor

bors commented Apr 14, 2021

☔ The latest upstream changes (presumably #3518) made this pull request unmergeable. Please resolve the merge conflicts.

Copy link
Member

@Turbo87 Turbo87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've slightly adjusted the code to return an empty response with HTTP 204 (No Content), instead of the empty JSON object, and I've fixed the merge conflicts on the tests by rebasing them on master.

From my side this is good to go now.

@pietroalbini @jtgeibel any objections from your side?

Copy link
Member

@0xPoe 0xPoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jtgeibel
Copy link
Member

jtgeibel commented Jul 6, 2021

LGTM!

@bors r+

@bors
Copy link
Contributor

bors commented Jul 6, 2021

📌 Commit 7c42ae1 has been approved by jtgeibel

@bors
Copy link
Contributor

bors commented Jul 6, 2021

⌛ Testing commit 7c42ae1 with merge d7dad02...

@bors
Copy link
Contributor

bors commented Jul 6, 2021

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

@bors bors merged commit d7dad02 into rust-lang:master Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow API tokens to self-revoke
8 participants