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/lib
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 /lib
parent0d90a011fff411c878ba4b44582f14ef7dbdceb1 (diff)
feat: default auth-type to web (#5551)
BREAKING CHANGE: the default `auth-type` config value is now `web`
Diffstat (limited to 'lib')
-rw-r--r--lib/utils/config/definitions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/config/definitions.js b/lib/utils/config/definitions.js
index 5f10bd5e3..fc39bddc7 100644
--- a/lib/utils/config/definitions.js
+++ b/lib/utils/config/definitions.js
@@ -237,7 +237,7 @@ define('audit-level', {
})
define('auth-type', {
- default: 'legacy',
+ default: 'web',
type: ['legacy', 'web'],
description: `
What authentication strategy to use with \`login\`.