Closed yumeangelica closed 3 months ago
createNewUser
userController
passwordStrengthValidator
passwordStrengthValidation
registerValidation
createNewUser
function inuserController
to use Zod validation and handle existing user checks.passwordStrengthValidator
middleware to use Zod validation.passwordStrengthValidation
schema to enforce strong password requirements.registerValidation
schema for user registration validation.