0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-27 22:59:51 -05:00
verdaccio/packages/server/fastify
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
..
debug chore: env variable for launch fastify (#3295) 2022-08-08 07:14:23 +02:00
src fix(api): fix password validation for /reset_password route (#3858) 2023-06-11 16:33:37 +08:00
.babelrc chore: env variable for launch fastify (#3295) 2022-08-08 07:14:23 +02:00
.eslintignore chore: env variable for launch fastify (#3295) 2022-08-08 07:14:23 +02:00
.eslintrc.json chore: env variable for launch fastify (#3295) 2022-08-08 07:14:23 +02:00
.gitignore chore: env variable for launch fastify (#3295) 2022-08-08 07:14:23 +02:00
CHANGELOG.md chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
jest.config.js chore: env variable for launch fastify (#3295) 2022-08-08 07:14:23 +02:00
LICENSE chore: env variable for launch fastify (#3295) 2022-08-08 07:14:23 +02:00
package.json chore: update versions (6-next) (#3825) 2023-06-03 07:23:26 +02:00
README.md chore: env variable for launch fastify (#3295) 2022-08-08 07:14:23 +02:00
tsconfig.build.json chore: env variable for launch fastify (#3295) 2022-08-08 07:14:23 +02:00
tsconfig.json refactor logger module (#3592) 2023-02-05 21:00:32 +01:00

Server Fastify (migration)

A package intended to start a migration from Express to fastify. (WIP).

Run from root folder

pnpm debug -- new