gitflow-hotfix-stash: remote_logout

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

View File

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

View File

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