mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-01 15:20:11 +01:00
settings: don't allow updating a connection with invalid secrets
Validate them, like we do on a connection addition.
This commit is contained in:
parent
58ee6be348
commit
009f756086
1 changed files with 3 additions and 0 deletions
|
|
@ -1753,6 +1753,9 @@ settings_connection_update (NMSettingsConnection *self,
|
|||
&error);
|
||||
if (!tmp)
|
||||
goto error;
|
||||
|
||||
if (!nm_connection_verify_secrets (tmp, &error))
|
||||
goto error;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue