logout-everywhere from the userAdmin menu

This commit is contained in:
ansuz
2020-02-24 18:36:53 -05:00
parent 99f04c3d6f
commit 9c4693365a
2 changed files with 15 additions and 0 deletions

View File

@@ -783,6 +783,10 @@ define([
Utils.LocalStore.logout(cb);
});
sframeChan.on('Q_LOGOUT_EVERYWHERE', function (data, cb) {
Cryptpad.logoutFromAll(cb);
});
sframeChan.on('EV_NOTIFY', function (data) {
Notifier.notify(data);
});