mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 16:50:17 +01:00
agents: send available secrets to the agents
The caller has already taken care of making sure that the agent is privileged enough to have secrets, so send them along if the caller gave them to us.
This commit is contained in:
parent
a6edda0b13
commit
9d2889a4a7
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ nm_secret_agent_get_secrets (NMSecretAgent *self,
|
|||
|
||||
priv = NM_SECRET_AGENT_GET_PRIVATE (self);
|
||||
|
||||
hash = nm_connection_to_hash (connection, NM_SETTING_HASH_FLAG_NO_SECRETS);
|
||||
hash = nm_connection_to_hash (connection, NM_SETTING_HASH_FLAG_ALL);
|
||||
|
||||
r = request_new (self, nm_connection_get_path (connection), setting_name, callback, callback_data);
|
||||
r->call = dbus_g_proxy_begin_call_with_timeout (priv->proxy,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue