From 98d95cbc443bd693d4cf2c5e3196788d087c7e15 Mon Sep 17 00:00:00 2001 From: Danilo Spinelli Date: Wed, 25 Jul 2018 00:10:56 +0200 Subject: [PATCH] removed extra logging (#260) --- package.json | 2 +- src/app.ts | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/package.json b/package.json index c8d071766..39e626340 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "italia-backend", - "version": "0.0.38", + "version": "0.0.39", "description": "Italia app and web backend", "main": "index.js", "engines": { diff --git a/src/app.ts b/src/app.ts index 424712b67..877a6c31d 100644 --- a/src/app.ts +++ b/src/app.ts @@ -62,13 +62,6 @@ function withSpidAuth( res: express.Response, next: express.NextFunction ) => { - if (req.body && req.body.SAMLResponse) { - const samlXMLResponse = new Buffer( - req.body.SAMLResponse, - "base64" - ).toString("utf8"); - log.info("SAML XML response: %s", samlXMLResponse); - } passport.authenticate("spid", async (err, user) => { if (err) { log.error("Error in SPID authentication: %s", err);