mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-02 20:08:04 +02:00
agent-manager: cancel secrets requests on an error
It might be that the user didn't supply the secrets in time and the dbus call
timed out. The agent should now hide the secrets dialog and we must let it know.
https://bugzilla.redhat.com/show_bug.cgi?id=1272023
(cherry picked from commit 5d1cac81a0)
This commit is contained in:
parent
48111a0828
commit
0a95f003a9
1 changed files with 3 additions and 0 deletions
|
|
@ -816,6 +816,9 @@ get_done_cb (NMSecretAgent *agent,
|
|||
req_complete_error (parent, error);
|
||||
g_error_free (error);
|
||||
} else {
|
||||
/* Tell the failed agent we're no longer interested. */
|
||||
nm_secret_agent_cancel_secrets (parent->current, parent->current_call_id);
|
||||
|
||||
/* Try the next agent */
|
||||
request_next_agent (parent);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue