mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-23 22:27:34 -05:00
702d5c4971
Previously, the password validation logic for the `/reset_password` route was reversed: An error was returned when the password was valid and the operation would succeed when the password was invalid. This commit fixes the logic to return an error when the validation fails and proceed with resetting the password when the password is valid. |
||
---|---|---|
.. | ||
config | ||
partials | ||
static | ||
api.packages.test.ts | ||
api.readme.test.ts | ||
api.search.test.ts | ||
api.sidebar.test.ts | ||
api.user.test.ts | ||
helper.ts | ||
web-utils.spec.ts |