settings: don't allow updating a connection with invalid secrets

Validate them, like we do on a connection addition.
This commit is contained in:
Lubomir Rintel 2019-01-24 18:20:41 +01:00
parent 58ee6be348
commit 009f756086

View file

@ -1753,6 +1753,9 @@ settings_connection_update (NMSettingsConnection *self,
&error);
if (!tmp)
goto error;
if (!nm_connection_verify_secrets (tmp, &error))
goto error;
}
}