make 'log-out-everywhere' end the local session as well

This commit is contained in:
ansuz
2020-03-04 14:08:08 -05:00
parent 9d8bb43d03
commit e3042c94d8
2 changed files with 4 additions and 2 deletions

View File

@@ -3480,7 +3480,9 @@ define([
});
$userAdmin.find('a.cp-toolbar-menu-logout-everywhere').click(function () {
Common.getSframeChannel().query('Q_LOGOUT_EVERYWHERE', null, function () { });
Common.getSframeChannel().query('Q_LOGOUT_EVERYWHERE', null, function () {
window.parent.location = origin + '/';
});
});
$userAdmin.find('a.cp-toolbar-menu-settings').click(function () {
if (padType) {