diff --git a/routes/auth.js b/routes/auth.js index 4182d68f..7863f910 100644 --- a/routes/auth.js +++ b/routes/auth.js @@ -211,6 +211,7 @@ function _getAuthDone (req, res) { if (!auth.alone.used && !auth.local.used && + !auth.ldap.used && !tools.isAuthorized(res.locals.user.email, app.locals.config.get('authorization').validMatches, app.locals.config.get('authorization').emptyEmailMatches)) {