From fb1b6ea34ade240b785b9bcbf101e9b95fded7d4 Mon Sep 17 00:00:00 2001 From: sigaloid <69441971+sigaloid@users.noreply.github.com> Date: Tue, 19 Jul 2022 17:08:58 -0400 Subject: [PATCH] Fix login setting --- src/routes/login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');