Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions webui/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ const jsonrpc = (method, params) => {

// logout and direct browser to login page
const logout = () => {
jsonrpc('logout', {});
window.location.href = '/webui-one';
jsonrpc('logout', {}).then(() => {
window.location.reload();
});
};

// fetch the system version with the get_system_setting method.
Expand Down