Fix login setting

pull/255/head
sigaloid 2022-07-19 17:08:58 +07:00
parent cce55eee63
commit fb1b6ea34a
1 changed files with 1 additions and 1 deletions

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