[WO-746] Mark credentials dirty before storing updated certificate

This commit is contained in:
Felix Hammerl 2014-12-01 17:18:54 +01:00
parent 4edf79d8c4
commit 32cc2806e9
1 changed files with 1 additions and 0 deletions

View File

@ -430,6 +430,7 @@ Auth.prototype.handleCertificateUpdate = function(component, onConnect, callback
}
self[component].ca = pemEncodedCert;
self.credentialsDirty = true;
self.storeCredentials(function(err) {
if (err) {
callback(err);