Skip to content

Update OTP documentation for dist-tag add - #74

Merged
zkat merged 1 commit into
npm:release-nextfrom
scotttrinh:patch-1
Nov 26, 2018
Merged

zkat merged 1 commit into
npm:release-nextfrom
scotttrinh:patch-1

Conversation

@scotttrinh

Copy link
Copy Markdown
Contributor

See discussion here: https://npm.community/t/npm-dist-tag-add-with-2fa-enabled-fails-for-non-latest-tag-with-500/2432

TL;DR:

To be clear, you can specify an existing tag and it’ll change it. If you have 2FA enabled, you do need to specify --otp and if you don’t, you should get a 401 as above.

See discussion here: https://npm.community/t/npm-dist-tag-add-with-2fa-enabled-fails-for-non-latest-tag-with-500/2432

TL;DR:

> To be clear, you can specify an existing tag and it’ll change it. If you have 2FA enabled, you do need to specify `--otp` and if you don’t, you should get a `401` as above.
@scotttrinh
scotttrinh requested a review from a team as a code owner October 3, 2018 14:06

@iarna iarna left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is excellent, thank you!

@zkat zkat added the docs label Nov 13, 2018
@zkat
zkat changed the base branch from latest to release-next November 13, 2018 15:01
@zkat
zkat merged commit 8a6ecc7 into npm:release-next Nov 26, 2018
zkat pushed a commit that referenced this pull request Dec 10, 2018
See discussion here: https://npm.community/t/npm-dist-tag-add-with-2fa-enabled-fails-for-non-latest-tag-with-500/2432

TL;DR:

> To be clear, you can specify an existing tag and it’ll change it. If you have 2FA enabled, you do need to specify `--otp` and if you don’t, you should get a `401` as above.

Ref: https://npm.community/t/npm-dist-tag-add-with-2fa-enabled-fails-for-non-latest-tag-with-500/2432
PR-URL: #74
Credit: @scotttrinh
Reviewed-By: @iarna
Reviewed-By: @zkat
github-actions Bot referenced this pull request in Kevinlee7250/cli Jun 23, 2026
github-actions Bot referenced this pull request in Kevinlee7250/cli Jul 1, 2026
github-actions Bot referenced this pull request in Kevinlee7250/cli Jul 10, 2026
github-actions Bot referenced this pull request in Kevinlee7250/cli Aug 1, 2026
github-actions Bot referenced this pull request in Kevinlee7250/cli Sep 9, 2026
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.

3 participants