[BUG] npm whoami allow empty username #5867
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 8.x
work is associated with a specific npm 8 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
cli/lib/utils/get-identity.js
Lines 12 to 21 in dc8e6bd
Expected Behavior
It seems to me, that there should be condition on return at line 15
Steps To Reproduce
Environment
registry=https://verdaccio.example.com
The text was updated successfully, but these errors were encountered: