mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-29 00:50:33 +00:00
Initial Web-based management of email certificate
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user