Skip to content

Commit

Permalink
Use AJAX.always() during logout
Browse files Browse the repository at this point in the history
Signed-off-by: DL6ER <[email protected]>
  • Loading branch information
DL6ER committed Jul 1, 2024
1 parent 0497792 commit fa837b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pi-hole/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ function doLogout() {
$.ajax({
url: "/api/auth",
method: "DELETE",
}).success(function () {
}).always(function () {
location.reload();
});
}
Expand Down

0 comments on commit fa837b5

Please sign in to comment.