Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jumoel committed Jul 1, 2022
1 parent ef8d2ed commit 67d762a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/utils/config/definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const allowed = [
'default',
'defaultDescription',
'deprecated',
'deprecatedValues',
'description',
'flatten',
'hint',
Expand Down
3 changes: 2 additions & 1 deletion lib/utils/config/definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,10 @@ define('auth-type', {
default: 'legacy',
type: ['legacy', 'webauthn', 'sso', 'saml', 'oauth'],
deprecated: `
The SSO/SAML/OAuth methods are deprecated and will be removed in
The SSO/SAML/OAuth/Webauthn methods are deprecated and will be removed in
a future version of npm in favor of web-based login.
`,
deprecatedValues: ['webauthn', 'sso', 'saml', 'oauth'],
description: `
What authentication strategy to use with \`adduser\`/\`login\`.
Expand Down

0 comments on commit 67d762a

Please sign in to comment.