From ac608b93344381668f8c479c244edd9d812a5bae Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 24 Apr 2020 21:21:22 +0200 Subject: [PATCH] small text changes --- .idea/vcs.xml | 1 + src/public/app/widgets/protected_note_switch.js | 4 ++-- src/routes/api/login.js | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 35eb1ddfb..8fe5bdbdc 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -2,5 +2,6 @@ + \ No newline at end of file diff --git a/src/public/app/widgets/protected_note_switch.js b/src/public/app/widgets/protected_note_switch.js index 4750bbefc..1a8c031f7 100644 --- a/src/public/app/widgets/protected_note_switch.js +++ b/src/public/app/widgets/protected_note_switch.js @@ -5,12 +5,12 @@ const TPL = `
`;``; diff --git a/src/routes/api/login.js b/src/routes/api/login.js index 23d78807a..1c06305e0 100644 --- a/src/routes/api/login.js +++ b/src/routes/api/login.js @@ -27,7 +27,7 @@ async function loginSync(req) { // login token is valid for 5 minutes if (Math.abs(timestamp.getTime() - now.getTime()) > 5 * 60 * 1000) { - return [400, { message: 'Auth request time is out of sync' }]; + return [400, { message: 'Auth request time is out of sync, please check that both client and server have correct time.' }]; } const syncVersion = req.body.syncVersion;