mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
85c1bd1f76
When a user has a valid token and tries to login with other credentials the endpoint returns 201. The reason was if another user logged previously and had a valid token stored in the terminal. We must authenticate any user that tries to log in even if the token stored is valid. We must check credentials again and return a new token, if the credentials are wrong we reject the login. Furthermore, the new token will update the list of groups. |
||
---|---|---|
.. | ||
e2e | ||
flow/plugins | ||
functional | ||
lib | ||
types | ||
unit | ||
.eslintrc | ||
jest.config.e2e.js | ||
jest.config.functional.js | ||
test.conf.js |