From eca0e44ffea1c584586f28701de949efb80034fc Mon Sep 17 00:00:00 2001 From: rob Date: Thu, 7 Jul 2022 04:57:05 -0400 Subject: [PATCH] stop logging whole session (diagnostic) --- app/controllers/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/auth.js b/app/controllers/auth.js index e15af27..ee47be8 100644 --- a/app/controllers/auth.js +++ b/app/controllers/auth.js @@ -140,7 +140,7 @@ class AuthController extends SiteController { async postLogin (req, res, next) { const redirectUri = req.session.loginReturnTo || '/'; - this.log.debug('starting passport.authenticate', { session: req.session, redirectUri }); + this.log.debug('starting passport.authenticate', { redirectUri }); passport.authenticate('dtp-local', (error, user/*, info*/) => { if (error) { req.session.loginResult = error.toString();