mirror of
https://github.com/moparisthebest/mail
synced 2025-02-12 05:00:19 -05:00
[WO-746] Mark credentials dirty before storing updated certificate
This commit is contained in:
parent
4edf79d8c4
commit
32cc2806e9
@ -430,6 +430,7 @@ Auth.prototype.handleCertificateUpdate = function(component, onConnect, callback
|
|||||||
}
|
}
|
||||||
|
|
||||||
self[component].ca = pemEncodedCert;
|
self[component].ca = pemEncodedCert;
|
||||||
|
self.credentialsDirty = true;
|
||||||
self.storeCredentials(function(err) {
|
self.storeCredentials(function(err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
callback(err);
|
callback(err);
|
||||||
|
Loading…
Reference in New Issue
Block a user