Initial Web-based management of email certificate

This commit is contained in:
Francis Lachapelle
2017-12-21 16:41:06 -05:00
parent 429a3bedb9
commit 4b355f532d
10 changed files with 391 additions and 139 deletions
@@ -287,6 +287,18 @@
});
};
/**
* @function $removeCertificate
* @memberof Account.prototype
* @desc Remove any S/MIME certificate associated with the account.
* @returns a promise of the HTTP operation
*/
Account.prototype.$removeCertificate = function() {
var _this = this;
return Account.$$resource.fetch(this.id.toString(), 'removeCertificate');
};
/**
* @function updateQuota
* @memberof Account.prototype