Skip to content

Commit

Permalink
removed extra logging (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunzip authored Jul 24, 2018
1 parent 41f19d5 commit 98d95cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
7 changes: 0 additions & 7 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 98d95cb

Please sign in to comment.