Exclude secret from being revealed

This commit is contained in:
2024-08-14 23:58:06 +08:00
parent 920cfc4e85
commit 4b72e614fa

View File

@@ -100,6 +100,7 @@ router.get("/all", async (req, res) => {
"profilePicture",
"resetPasswordToken",
"resetPasswordExpireTime",
"secret",
],
},
});
@@ -115,6 +116,7 @@ router.get("/individual/:id", validateToken, async (req, res) => {
"profilePicture",
"resetPasswordToken",
"resetPasswordExpireTime",
"secret",
],
},
});