mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 16:25:51 +01:00
Fix login setting
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user