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
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/config/definitions.js')
-rw-r--r--lib/utils/config/definitions.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/utils/config/definitions.js b/lib/utils/config/definitions.js
index e654c6b99..665ed1efe 100644
--- a/lib/utils/config/definitions.js
+++ b/lib/utils/config/definitions.js
@@ -239,15 +239,14 @@ define('audit-level', {
define('auth-type', {
default: 'legacy',
- type: ['legacy', 'webauthn', 'sso', 'saml', 'oauth'],
+ type: ['legacy', 'web', 'sso', 'saml', 'oauth', 'webauthn'],
// deprecation in description rather than field, because not every value
// is deprecated
description: `
- NOTE: auth-type values "sso", "saml", and "oauth" will be removed in a future version.
-
- What authentication strategy to use with \`login\`.
+ NOTE: auth-type values "sso", "saml", "oauth", and "webauthn" will be
+ removed in a future version.
- Pass \`webauthn\` to use a web-based login.
+ What authentication strategy to use with \`login\`.
`,
flatten (key, obj, flatOptions) {
flatOptions.authType = obj[key]