Fix login setting

This commit is contained in:
sigaloid 2022-07-19 17:08:58 -04:00
parent cce55eee63
commit fb1b6ea34a

View File

@ -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');