summaryrefslogtreecommitdiff
path: root/deps/npm/doc/cli/npm-access.md
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/doc/cli/npm-access.md')
-rw-r--r--deps/npm/doc/cli/npm-access.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/npm/doc/cli/npm-access.md b/deps/npm/doc/cli/npm-access.md
index aabdbe03ca..a338673c8d 100644
--- a/deps/npm/doc/cli/npm-access.md
+++ b/deps/npm/doc/cli/npm-access.md
@@ -60,6 +60,9 @@ You must have privileges to set the access of a package:
* You have been given read-write privileges for a package, either as a member
of a team or directly as an owner.
+If you have two-factor authentication enabled then you'll have to pass in an
+otp with `--otp` when making access changes.
+
If your account is not paid, then attempts to publish scoped packages will fail
with an HTTP 402 status code (logically enough), unless you use
`--access=public`.