Warn the owners when deleting a BAR pad

This commit is contained in:
yflory
2020-01-13 14:52:46 +01:00
parent bdd338902b
commit 09da8ac6a2
2 changed files with 49 additions and 2 deletions

View File

@@ -1240,6 +1240,8 @@ define([
if (burnAfterReading) {
Cryptpad.padRpc.onReadyEvent.reg(function () {
Cryptpad.burnPad({
password: password,
href: window.location.href,
channel: secret.channel,
ownerKey: burnAfterReading
});