mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Redirect to logout when clearing login logs
This commit is contained in:
parent
add1b4ec54
commit
f6083b12ba
2 changed files with 2 additions and 2 deletions
|
@ -158,7 +158,7 @@ $('.login_log_table').on('click', '> tbody > tr > td> .sign-out-tooltip', functi
|
||||||
current: rowData['current']
|
current: rowData['current']
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
if (rowData['current']) {
|
if (rowData['current']) {
|
||||||
window.location = 'auth/logout'
|
window.location = 'auth/logout';
|
||||||
} else {
|
} else {
|
||||||
login_log_table.draw();
|
login_log_table.draw();
|
||||||
}
|
}
|
||||||
|
|
|
@ -536,7 +536,7 @@
|
||||||
} else {
|
} else {
|
||||||
showMsg('<i class="fa fa-times"></i> ' + msg, false, true, 5000, true)
|
showMsg('<i class="fa fa-times"></i> ' + msg, false, true, 5000, true)
|
||||||
}
|
}
|
||||||
login_log_table.draw();
|
window.location = 'auth/logout';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue