mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 22:05:44 +01:00
remove checkForUpdates from login screen
This commit is contained in:
@@ -5,7 +5,6 @@ const optionService = require('../services/options');
|
||||
const myScryptService = require('../services/my_scrypt');
|
||||
const log = require('../services/log');
|
||||
const passwordService = require("../services/password");
|
||||
const options = require('../services/options');
|
||||
|
||||
function loginPage(req, res) {
|
||||
res.render('login', { failedAuth: false });
|
||||
@@ -37,7 +36,6 @@ function setPassword(req, res) {
|
||||
return;
|
||||
}
|
||||
|
||||
options.setOption("checkForUpdates", req.body['check-for-updates'] == 'on');
|
||||
passwordService.setPassword(password1);
|
||||
|
||||
res.redirect('login');
|
||||
|
||||
Reference in New Issue
Block a user