diff --git a/src/routes/login.js b/src/routes/login.js index 03d236e97..bd29e0765 100644 --- a/src/routes/login.js +++ b/src/routes/login.js @@ -37,7 +37,7 @@ function setPassword(req, res) { return; } - options.setOption("checkForUpdates", req.body['check-for-updates'] == true); + options.setOption("checkForUpdates", req.body['check-for-updates'] == 'on'); passwordService.setPassword(password1); res.redirect('login');