Request capabilities part 2

This commit is contained in:
yflory
2019-07-13 11:47:58 +02:00
parent 2ba6e40161
commit 60bea6b33b
8 changed files with 110 additions and 20 deletions

View File

@@ -696,6 +696,9 @@ define([
pad.requestAccess = function (data, cb) {
postMessage("REQUEST_PAD_ACCESS", data, cb);
};
pad.giveAccess = function (data, cb) {
postMessage("GIVE_PAD_ACCESS", data, cb);
};
common.changePadPassword = function (Crypt, href, newPassword, edPublic, cb) {
if (!href) { return void cb({ error: 'EINVAL_HREF' }); }