diff --git a/server/api/auth/login.post.ts b/server/api/auth/login.post.ts index e258fc3..e1d41a8 100644 --- a/server/api/auth/login.post.ts +++ b/server/api/auth/login.post.ts @@ -7,9 +7,9 @@ export default eventHandler(async (event) => { const wrongMsg = "wrong credentials"; let reqbody = await readBody(event); let user = await User.findOne({ username: reqbody.username }).exec(); - log.debug(reqbody, { label: "login/body" }); - log.debug("USER -> " + user, { label: "login" }); - log.debug("conn ->" + mongoose.connection, { label: "login" }); + // log.debug(reqbody, { label: "login/body" }); + // log.debug("USER -> " + user, { label: "login" }); + // log.debug("conn ->" + mongoose.connection, { label: "login" }); let cok = getHeader(event, "Authorization")?.replace("Bearer ", ""); if (!cok) { if (!user) {