Apply suggestion from @leobalter
Co-authored-by: Leo Balter <301201+leobalter@users.noreply.github.com>
Saquib committed
Oct 9, 2025 at 20:00 UTC
03e2be7c13d073bb45f77749645d8e476890bcf5
1 file changed
-4
content/getting-started/setting-up-your-npm-user-account/configuring-two-factor-authentication.mdx
-4
@@ -122,10 +122,6 @@ Security-key with WebAuthn can be used for authentication from both the web and
122
123
</Note>
124
125
-For the best security experience, we recommend configuring 2FA through the web interface where you can set up security-key authentication.
126
-
127
-If you need to enable 2FA from the command line:
128
-
125
1. If you are logged out on the command line, log in using `npm login` command.
126
127
2. On the command line, type the [`npm profile`](/cli/profile) command along with the option for the 2FA mode you want to enable: