[gnome-software/wip/attente/ubuntu-xenial: 17/27] Only store macaroon when requested
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/attente/ubuntu-xenial: 17/27] Only store macaroon when requested
- Date: Mon, 18 Apr 2016 05:34:03 +0000 (UTC)
commit ff93560613dcc605db1092c44da37e160ac53400
Author: William Hua <william hua canonical com>
Date: Sun Apr 17 20:51:45 2016 -0400
Only store macaroon when requested
src/plugins/gs-ubuntuone.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-ubuntuone.c b/src/plugins/gs-ubuntuone.c
index 29165e8..a0907fe 100644
--- a/src/plugins/gs-ubuntuone.c
+++ b/src/plugins/gs-ubuntuone.c
@@ -165,7 +165,7 @@ gs_ubuntuone_get_macaroon (gboolean use_cache,
g_mutex_clear (&login_context.mutex);
g_cond_clear (&login_context.cond);
- if (login_context.macaroon) {
+ if (login_context.macaroon != NULL && login_context.remember) {
printed = g_variant_print (login_context.macaroon, FALSE);
if (!secret_password_store_sync (&schema,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]