merged "Sync local document" into "Test sync"

This commit is contained in:
azivner
2018-09-10 20:05:10 +02:00
parent b4a566df9e
commit e4381d10e8
7 changed files with 70 additions and 68 deletions

View File

@@ -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;