npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

[child "mode" fails] Error after submitting empty settings for 2fa on npm website

What I Wanted to Do

I was trying to enable 2fa on account settings

What Happened Instead

I haven’t selected any of three provided options for 2fa, after click on submit I’ve got this error message:

child "mode" fails because ["mode" is required], child "step" fails because ["step" must be one of [1]]
id: wubwub-7-west:51359bc4-82f5-4bc5-a606-1b52d36ec964

Reproduction Steps

Platform Info

$ npm --versions
{ 'jani-api': '10.0.3',
  npm: '6.4.0',
  ares: '1.10.1-DEV',
  cldr: '31.0.1',
  http_parser: '2.7.0',
  icu: '59.1',
  modules: '57',
  nghttp2: '1.25.0',
  node: '8.9.4',
  openssl: '1.0.2n',
  tz: '2017b',
  unicode: '9.0',
  uv: '1.15.0',
  v8: '6.1.534.50',
  zlib: '1.2.11' }

$ node -p process.platform