diff --git a/packages/yonode-templates/JS-MongoDB-Prisma-Auth-Template/src/controllers/authController.js b/packages/yonode-templates/JS-MongoDB-Prisma-Auth-Template/src/controllers/authController.js index 3b61d175..eb2465f9 100644 --- a/packages/yonode-templates/JS-MongoDB-Prisma-Auth-Template/src/controllers/authController.js +++ b/packages/yonode-templates/JS-MongoDB-Prisma-Auth-Template/src/controllers/authController.js @@ -15,7 +15,7 @@ export async function registerUser(req, res) { } // Hash the password before saving it const hashedPassword = await hashPassword(password); - // Create a new user instance with the hashed password and save it to the database + // Create a new user instance and save it to the database user = await prisma.user.create({ data: { email, password: hashedPassword }, });