Merge branch 'master' into next58

# Conflicts:
#	package-lock.json
This commit is contained in:
zadam
2022-12-03 13:01:03 +01:00
10 changed files with 224 additions and 312 deletions

View File

@@ -26,7 +26,7 @@ function loginSync(req) {
// login token is valid for 5 minutes
if (Math.abs(timestamp.getTime() - now.getTime()) > 5 * 60 * 1000) {
return [401, { message: 'Auth request time is out of sync, please check that both client and server have correct time.' }];
return [401, { message: 'Auth request time is out of sync, please check that both client and server have correct time. The difference between clocks has to be smaller than 5 minutes.' }];
}
const syncVersion = req.body.syncVersion;