fix: show login fields if user has local password

v1.18.x
Baris Usakli 5 years ago
parent 2eb8c05e4b
commit 1eca5b3dae

@ -237,7 +237,7 @@ module.exports = function (middleware) {
if (res.locals.isAPI) { if (res.locals.isAPI) {
res.status(401).json({}); res.status(401).json({});
} else { } else {
res.redirect(nconf.get('relative_path') + '/login'); res.redirect(nconf.get('relative_path') + '/login?local=1');
} }
}, },
], next); ], next);

Loading…
Cancel
Save