Javascript – Use isStrongPassword in validation schema
I'm trying to define a schema using express-validator in which I set the "isStrongPassword" option. The "usernameSchema" works fine, but the "passwordSchema" doesn't pass my entered passwords through, even if they match the requirements. Here is my code: userRouter.js const…