Browse Source

stop logging whole session (diagnostic)

pull/1/head
Rob Colbert 3 years ago
parent
commit
eca0e44ffe
  1. 2
      app/controllers/auth.js

2
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();

Loading…
Cancel
Save