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

logout bugfixes #6895

Merged
merged 5 commits into from
Oct 12, 2023
Merged

logout bugfixes #6895

merged 5 commits into from
Oct 12, 2023

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
48 of 50 checks passed
@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