Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_npmUser not sent with NPM 2.0.0 #173

Open
voldern opened this issue Nov 28, 2014 · 8 comments
Open

_npmUser not sent with NPM 2.0.0 #173

voldern opened this issue Nov 28, 2014 · 8 comments

Comments

@voldern
Copy link

voldern commented Nov 28, 2014

Hi,

When publishing packages with NPM 2.0.0 the _npmUser field is not set on the package. This leads to the user not showing up in the web interface.

@moll
Copy link

moll commented Apr 16, 2015

FYI: This does not happen when using basic authentication.

@mathieumg
Copy link

Same problem.

@curtisr7
Copy link

@rlidwka I'm not entirely certain whether this is a bug in the npm client or something that sinopia needs to handle. Regardless, thoughts on updating lib/index-api.js so that if a package is published and _npmUser.name is empty, set it to req.remote_user.name?

Let me know if that seems reasonable and I'll send a pull request.

@yinrong
Copy link

yinrong commented Sep 14, 2015

+1

1 similar comment
@rbecheras
Copy link

👍

@aars
Copy link

aars commented Sep 22, 2015

+1

Issue still present using npm 3.3.3.

@priedthirdeye
Copy link

+1

npm 2.14.2

@liuweifeng
Copy link

+1

npm 2.14.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants