Skip to content

Conversation

@wraithgar
Copy link
Member

@wraithgar wraithgar commented Oct 10, 2023

Fixes two bugs with npm logout

First, the token delete request is sent to the same registry that the
token was nerf-darted to.

Second, the token is deleted from the config that it was found in.

The tests were also rewritten to use the mock registry, which is how the
first bug was found.

Closes #3888

@wraithgar wraithgar requested a review from a team as a code owner October 10, 2023 19:23
@wraithgar wraithgar merged commit fcc9e40 into latest Oct 12, 2023
@wraithgar wraithgar deleted the gar/logout-config-location branch October 12, 2023 16:20
@github-actions github-actions bot mentioned this pull request Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] NPM Logout Removes Wrong Access Token

2 participants