Skip to content

Commit cba3341

Browse files
ruyadornoisaacs
authored andcommitted
fix: npm profile refactor
- 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
1 parent 44d4331 commit cba3341

File tree

3 files changed

+1836
-235
lines changed

3 files changed

+1836
-235
lines changed

0 commit comments

Comments
 (0)