htpasswd file reads and source code #4052
-
Hello, I'm trying to work out when the htpasswd plugin reads the file. I have tested by starting the Docker container with a htpasswd file mounted as a volume. I then added:
Is there a way to force the file to be re-read or is there a timeout that will cause it to be re-read? Also the link to source code from the old repo 404s https://github.com/verdaccio/verdaccio-htpasswd Could you point me at the current httpasswd authentication plugin code. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The code is here https://github.com/verdaccio/verdaccio/tree/master/packages/plugins/htpasswd years ago was on that repo you saw, later on https://github.com/verdaccio/monorepo but those locations are not longer hosting it, check the master branch of this repo for source code.
I'd debug and try to find out where is the file that host the users, sometimes app might be using one and you considering is another one, here more info https://github.com/verdaccio/verdaccio/wiki/Debugging-Verdaccio |
Beta Was this translation helpful? Give feedback.
The code is here https://github.com/verdaccio/verdaccio/tree/master/packages/plugins/htpasswd years ago was on that repo you saw, later on https://github.com/verdaccio/monorepo but those locations are not longer hosting it, check the master branch of this repo for source code.
I'd debug and try to find out where is the file that host the users, sometimes app might be using one and you considering is another one, here more info https://github.com/verdaccio/verdaccio/wiki/Debugging-Verdaccio