fix: add otplease for enable-2fa, disable-2fa, access (#8228) · npm/cli@8669d09 · GitHub
Skip to content

Commit 8669d09

Browse files
reggiwraithgar
andauthored
fix: add otplease for enable-2fa, disable-2fa, access (#8228)
The `profile enable-2fa` and `profile disable-2fa` commands a broken. This fixes them by wrapping the calls in `otplease` which handles error headers / prompts with tfa urls. Closes: #8192 --------- Co-authored-by: Gar <gar+gh@danger.computer>
1 parent 57aa89f commit 8669d09

3 files changed

Lines changed: 129 additions & 76 deletions

File tree

lib/commands/access.js

Lines changed: 6 additions & 2 deletions

lib/commands/profile.js

Lines changed: 15 additions & 22 deletions

0 commit comments

Comments
 (0)