1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/packages/web/src
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 fix(api): fix password validation for /reset_password route (#3858) 2023-06-11 16:33:37 +08:00
index.ts refactor: html render middleware improvements (#3603) 2023-02-12 20:26:18 +01:00
middleware.ts docs: add docs for theme and filter plugins (#3619) 2023-02-18 15:42:19 +01:00
web-utils.ts refactor: html render middleware improvements (#3603) 2023-02-12 20:26:18 +01:00