Display confirmation on "Log out everywhere" in the upper right menu

addresses #765
pull/1/head
ansuz 3 years ago
parent 59f24344a6
commit 663f0d8771

@ -1886,9 +1886,12 @@ define([
},
content: h('span', Messages.logoutEverywhere),
action: function () {
UI.confirm(Messages.settings_logoutEverywhereConfirm, function (yes) {
if (!yes) { return; }
Common.getSframeChannel().query('Q_LOGOUT_EVERYWHERE', null, function () {
Common.gotoURL(origin + '/');
});
});
},
});
options.push({

Loading…
Cancel
Save