Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2022-09-21 23:46:35 +0300
committerGitHub <noreply@github.com>2022-09-21 23:46:35 +0300
commit66ed58454418dd69c4cd8196ad8499e73f7e46e1 (patch)
tree9d7ddfb14b8e777950661d5093ec16d197efaa0c /docs
parent0d90a011fff411c878ba4b44582f14ef7dbdceb1 (diff)
feat: default auth-type to web (#5551)
BREAKING CHANGE: the default `auth-type` config value is now `web`
Diffstat (limited to 'docs')
-rw-r--r--docs/content/commands/npm-adduser.md2
-rw-r--r--docs/content/commands/npm-login.md2
-rw-r--r--docs/content/using-npm/config.md2
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/commands/npm-adduser.md b/docs/content/commands/npm-adduser.md
index ea6654e98..710060f83 100644
--- a/docs/content/commands/npm-adduser.md
+++ b/docs/content/commands/npm-adduser.md
@@ -82,7 +82,7 @@ npm init --scope=@foo --yes
#### `auth-type`
-* Default: "legacy"
+* Default: "web"
* Type: "legacy" or "web"
What authentication strategy to use with `login`.
diff --git a/docs/content/commands/npm-login.md b/docs/content/commands/npm-login.md
index 4f821c903..a3772dc88 100644
--- a/docs/content/commands/npm-login.md
+++ b/docs/content/commands/npm-login.md
@@ -89,7 +89,7 @@ npm init --scope=@foo --yes
#### `auth-type`
-* Default: "legacy"
+* Default: "web"
* Type: "legacy" or "web"
What authentication strategy to use with `login`.
diff --git a/docs/content/using-npm/config.md b/docs/content/using-npm/config.md
index 2b704bda2..2b05c842f 100644
--- a/docs/content/using-npm/config.md
+++ b/docs/content/using-npm/config.md
@@ -217,7 +217,7 @@ exit code.
#### `auth-type`
-* Default: "legacy"
+* Default: "web"
* Type: "legacy" or "web"
What authentication strategy to use with `login`.