1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/packages
George Kalpakas 702d5c4971
fix(api): fix password validation for /reset_password route (#3858)
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.
2023-06-11 16:33:37 +08:00
..
api chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
auth chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
cli chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
config chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
core chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
hooks chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
loaders chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
logger chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
middleware chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
node-api chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
plugins chore(deps): update all linting dependencies (#3859) 2023-06-05 17:21:37 +02:00
proxy chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
search chore(deps): update dependency @orama/orama to v1.0.2 (#3842) 2023-05-29 20:42:29 +02:00
server fix(api): fix password validation for /reset_password route (#3858) 2023-06-11 16:33:37 +08:00
signature chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
standalone chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
store chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
tools chore: updated static data 2023-06-08 00:14:10 +00:00
ui-components fix(deps): update dependency github-markdown-css to v5.2.0 (#3857) 2023-06-03 22:34:44 +02:00
utils chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
verdaccio chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
web fix(api): fix password validation for /reset_password route (#3858) 2023-06-11 16:33:37 +08:00
.eslintrc feat: migrate yarn workspaces (#1546) 2021-04-09 17:54:01 +02:00