Account deletion button

This commit is contained in:
yflory
2018-03-19 14:04:44 +01:00
parent c135893638
commit 07e361b88d
7 changed files with 79 additions and 3 deletions

View File

@@ -65,6 +65,9 @@ define([
sframeChan.on('Q_SETTINGS_IMPORT_LOCAL', function (data, cb) {
Cryptpad.mergeAnonDrive(cb);
});
sframeChan.on('Q_SETTINGS_DELETE_ACCOUNT', function (data, cb) {
Cryptpad.deleteAccount(cb);
});
};
var category;
if (window.location.hash) {