mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
merged "Sync local document" into "Test sync"
This commit is contained in:
@@ -38,7 +38,7 @@ async function loginSync(req) {
|
||||
const givenHash = req.body.hash;
|
||||
|
||||
if (expectedHash !== givenHash) {
|
||||
return [400, { message: "Sync login hash doesn't match" }];
|
||||
return [400, { message: "Sync login credentials are incorrect." }];
|
||||
}
|
||||
|
||||
req.session.loggedIn = true;
|
||||
|
||||
Reference in New Issue
Block a user