[gnome-boxes/release-3.34.3: 1/3] machine: Dismiss auth_notification when authentication failed
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/release-3.34.3: 1/3] machine: Dismiss auth_notification when authentication failed
- Date: Mon, 6 Jan 2020 16:57:47 +0000 (UTC)
commit 45e353cf197287b74d061056c1ba8b208f3d1f2a
Author: Felipe Borges <felipeborges gnome org>
Date: Mon Dec 16 14:56:18 2019 +0100
machine: Dismiss auth_notification when authentication failed
This way users can attempt to enter credentials again after a failed
attempt.
Fixes #446
src/machine.vala | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/machine.vala b/src/machine.vala
index 60b3def6..9ec28537 100644
--- a/src/machine.vala
+++ b/src/machine.vala
@@ -750,6 +750,9 @@ private async void delete_auth_credentials () {
try {
yield Secret.password_clear (secret_auth_schema, null,
"gnome-boxes-machine-uuid", config.uuid);
+
+ auth_notification.dismiss ();
+ auth_notification = null;
} catch (GLib.Error error) {
debug ("Failed to delete credentials for machine %s: %s", config.uuid, error.message);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]