mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
relaunch app after successful sync
This commit is contained in:
@@ -83,7 +83,7 @@ async function checkBasicAuth(req, res, next) {
|
||||
const dbUsername = await optionService.getOption('username');
|
||||
|
||||
if (dbUsername !== username || !await passwordEncryptionService.verifyPassword(password)) {
|
||||
res.status(401).send("Not authorized");
|
||||
res.status(401).send('Incorrect username and/or password');
|
||||
}
|
||||
else {
|
||||
next();
|
||||
|
||||
Reference in New Issue
Block a user