1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01: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 feat: flexible user interface generator (#2070) 2021-04-09 17:54:38 +02:00
api.packages.test.ts feat: align with v5 ui endpoints and ui small bugfix (#2913) 2022-01-15 20:12:28 +01:00
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