ask users to sign back if signing keys are missing

This commit is contained in:
ansuz
2017-04-18 11:58:41 +02:00
parent 107e75b287
commit da69c1822c
2 changed files with 17 additions and 0 deletions

View File

@@ -221,6 +221,12 @@ define([
return typeof getUserHash() === "string";
};
var hasSigningKeys = common.hasSigningKeys = function (proxy) {
return typeof(proxy) === 'object' &&
typeof(proxy.edPrivate) === 'string' &&
typeof(proxy.edPublic) === 'string';
};
common.isArray = $.isArray;
/*