Skip to content

Commit

Permalink
fix: npm profile refactor
Browse files Browse the repository at this point in the history
- Fixes using `--otp` config option in `npm profile enable-2fa`
- Prevents trying to enable 2fa if no user is logged in
- Setting email should not require password
- Add `test/lib/profile.js` tests
- Async/await `lib/profile.js` refactor and more

- Fixes: npm/statusboard#164

PR-URL: #2373
Credit: @ruyadorno
Close: #2373
Reviewed-by: @isaacs
  • Loading branch information
ruyadorno authored and isaacs committed Dec 18, 2020
1 parent 44d4331 commit cba3341
Show file tree
Hide file tree
Showing 3 changed files with 1,836 additions and 235 deletions.

0 comments on commit cba3341

Please sign in to comment.