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

plugin htpasswd: this.users not update when reloading the modified htpasswd file #3241

Open
giiska opened this issue Jun 22, 2022 · 4 comments

Comments

@giiska
Copy link

giiska commented Jun 22, 2022

verdaccio 5.2.2
verdaccio-htpasswd 10.x or 11.x

Object.assign(this.users, parseHTPasswd(buffer));

This.users is not updated when reloading the modified htpasswd file, is this a bug or by design?

@juanpicado
Copy link
Member

Hi, Maybe you can start :) with which version you are using, there are two branches on this repo.

@giiska
Copy link
Author

giiska commented Jun 22, 2022

@juanpicado thanks for mention that, I updated my post.

@edclement
Copy link
Collaborator

This.users is not updated when reloading the modified htpasswd file, is this a bug or by design?

When you say reloading, do you mean restarting Verdaccio?

@giiska
Copy link
Author

giiska commented Jun 24, 2022

I mean the code "this.reload" public reload(callback: Callback): void {

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

No branches or pull requests

3 participants