Minor improvements

This commit is contained in:
Roman Hergenreder
2020-04-04 15:11:38 +02:00
parent 8ce74edc38
commit 8fc0b4bb05
6 changed files with 60 additions and 28 deletions

View File

@@ -48,4 +48,12 @@ $(document).ready(function() {
alert(err);
});
});
$("#btnLogout").click(function() {
jsCore.apiCall("/user/logout", function(data) {
document.location = "/admin";
}, function(err) {
alert("err");
});
});
});