mirror of
https://github.com/pi-hole/web.git
synced 2025-12-22 19:58:27 +00:00
Always reload page after logout attempt
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user