0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/packages/web/test
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
..
config fix(config): respect the changePassword configuration flag (#3849) 2023-06-02 18:52:41 +02:00
partials feat: parse highligt code, readme and sanitize on ui (#3505) 2022-11-19 18:59:59 +01:00
static
api.packages.test.ts
api.readme.test.ts feat: parse highligt code, readme and sanitize on ui (#3505) 2022-11-19 18:59:59 +01:00
api.search.test.ts feat: UI search uses search endpoint for global search (#3057) 2022-03-27 21:42:52 +02:00
api.sidebar.test.ts feat: UI search uses search endpoint for global search (#3057) 2022-03-27 21:42:52 +02:00
api.user.test.ts fix(api): fix password validation for /reset_password route (#3858) 2023-06-11 16:33:37 +08:00
helper.ts refactor: html render middleware improvements (#3603) 2023-02-12 20:26:18 +01:00
web-utils.spec.ts refactor: html render middleware improvements (#3603) 2023-02-12 20:26:18 +01:00