Merge branch 'hotfix/remote_logout' into develop

This commit is contained in:
ostertun
2020-10-16 13:01:24 +02:00
2 changed files with 7 additions and 2 deletions

View File

@@ -909,8 +909,13 @@ function sync() {
syncInProgress --; syncInProgress --;
} }
} else {
if (code == 401) {
log("[db] Auth invalid. Logout initiated");
logoutClearStorage();
} else { } else {
log("[db] Something went wrong (HTTP " + code + ")"); log("[db] Something went wrong (HTTP " + code + ")");
}
syncOkay = false; syncOkay = false;
syncInProgress = 0; syncInProgress = 0;
} }

View File

@@ -1,5 +1,5 @@
<?php <?php
define('PWA_VERSION', '1.11h1'); define('PWA_VERSION', '1.11h2');
?> ?>