Skip to content

Commit

Permalink
Code clean-up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcollier committed Dec 13, 2023
1 parent 88379e5 commit a72453a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions lib/authn.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,8 @@ async function _connect(options) {

const db = client.db();
const ping = await db.admin().ping();
logger.debug(
'database connection succeeded: db=' + db.databaseName, {ping});
/*
logger.debug(
'database connection succeeded: db=' + db.databaseName +
' username=' + connectOptions?.auth?.user, {ping});
*/
logger.debug('database connection succeeded: db=' + db.databaseName, {ping});

return {client, db};
}

Expand Down

0 comments on commit a72453a

Please sign in to comment.