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

@@ -88,6 +88,10 @@ define([
};
postMessage("MIGRATE_ANON_DRIVE", data, cb);
};
// Settings
common.deleteAccount = function (cb) {
postMessage("DELETE_ACCOUNT", null, cb);
};
// Drive
common.userObjectCommand = function (data, cb) {
postMessage("DRIVE_USEROBJECT", data, cb);