[Feature] Print registry config value before on npm login #2071
Labels
Enhancement
new feature or improvement
Good First Issue
good issue or PR for newcomers
Release 7.x
work is associated with a specific npm 7 release
Milestone
Problem:
It is opaque which service will receive credentials for "npm login". This can lead to leaked credentials.
Logging into a non-standard registry is a 2-command process. Not only that, but one can be logged into multiple registries for various scopes. Give a multitude of registries, when I perform "npm login", depending on the flags, my credentials can be sent to a number of services. It would be nice to know exactly which one before credentials are entered.
Solution:
Currently:
Proposed:
The text was updated successfully, but these errors were encountered: