Skip to content

Commit 86a4487

Browse files
author
jaxoncreed
committed
Code cleanup
1 parent 63e47bb commit 86a4487

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/api/authn/webid-tls.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ function handler (req, res, next) {
1515

1616
// No certificate? skip
1717
const certificate = getCertificateViaTLS(req)
18-
console.log(req.method)
19-
console.log(req.headers)
20-
console.log(req.body)
21-
console.log('CERTIFICATE')
22-
console.log(certificate)
2318
if (!certificate) {
2419
setEmptySession(req)
2520
return next()
@@ -43,8 +38,6 @@ function handler (req, res, next) {
4338
function getCertificateViaTLS (req) {
4439
const certificate = req.connection.getPeerCertificate &&
4540
req.connection.getPeerCertificate()
46-
console.log('IN CERT')
47-
console.log(certificate)
4841
if (certificate && Object.keys(certificate).length > 0) {
4942
return certificate
5043
}

0 commit comments

Comments
 (0)