tree settings popup fixes

This commit is contained in:
zadam
2020-05-02 13:52:02 +02:00
parent 3466a19397
commit ed52f93bbb
2 changed files with 10 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ async function loginSync(req) {
const givenHash = req.body.hash;
if (expectedHash !== givenHash) {
return [400, { message: "Sync login credentials are incorrect." }];
return [400, { message: "Sync login credentials are incorrect. It looks like you're trying to sync two different initialized documents which is not possible." }];
}
req.session.loggedIn = true;