mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
Fix login setting
This commit is contained in:
parent
cce55eee63
commit
fb1b6ea34a
@ -37,7 +37,7 @@ function setPassword(req, res) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
options.setOption("checkForUpdates", req.body['check-for-updates'] == true);
|
options.setOption("checkForUpdates", req.body['check-for-updates'] == 'on');
|
||||||
passwordService.setPassword(password1);
|
passwordService.setPassword(password1);
|
||||||
|
|
||||||
res.redirect('login');
|
res.redirect('login');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user