Skip to content

docs(access): document 2fa alias for mfa settings#63890

Closed
Rawal27 wants to merge 1 commit into
nodejs:mainfrom
Rawal27:docs-access-2fa-alias
Closed

docs(access): document 2fa alias for mfa settings#63890
Rawal27 wants to merge 1 commit into
nodejs:mainfrom
Rawal27:docs-access-2fa-alias

Conversation

@Rawal27

@Rawal27 Rawal27 commented Jun 13, 2026

Copy link
Copy Markdown

Summary

Document support for the 2fa alias in npm access set.

The implementation currently supports:

  • 2fa=none
  • 2fa=publish
  • 2fa=automation

via the same code path as the corresponding mfa options, but the command documentation only lists the mfa variants.

This change updates the command synopsis and adds a short note clarifying that 2fa is an alias for mfa.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/security-wg

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. npm Issues and PRs related to the npm client dependency or the npm registry. labels Jun 13, 2026
@Renegade334

Copy link
Copy Markdown
Member

This isn't the npm repo. Any changes should be proposed upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. npm Issues and PRs related to the npm client dependency or the npm registry.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants