Always reload page after logout attempt

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2024-07-01 05:31:48 +02:00
parent 330845b577
commit ee4562faca

View File

@@ -467,8 +467,8 @@ function doLogout() {
$.ajax({
url: "/api/auth",
method: "DELETE",
}).always(function (data) {
if (data.status === 410) location.reload();
}).success(function () {
location.reload();
});
}