[gnome-online-accounts/gnome-3-18] identity: Use primary REALM to present temporary accounts
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/gnome-3-18] identity: Use primary REALM to present temporary accounts
- Date: Wed, 27 Jan 2016 17:42:51 +0000 (UTC)
commit 65633d6cdb861564103a2a2a3676b26cd188b5e9
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Jan 27 17:20:19 2016 +0100
identity: Use primary REALM to present temporary accounts
https://bugzilla.gnome.org/show_bug.cgi?id=761188
src/goaidentity/goaidentityservice.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/goaidentity/goaidentityservice.c b/src/goaidentity/goaidentityservice.c
index 19b382f..db01018 100644
--- a/src/goaidentity/goaidentityservice.c
+++ b/src/goaidentity/goaidentityservice.c
@@ -891,7 +891,6 @@ add_temporary_account (GoaIdentityService *self,
char *realm;
char *preauth_source;
const char *principal;
- char *principal_for_display;
GSimpleAsyncResult *operation_result;
GVariantBuilder credentials;
GVariantBuilder details;
@@ -912,8 +911,6 @@ add_temporary_account (GoaIdentityService *self,
/* If there's no account for this identity then create a temporary one.
*/
- principal_for_display = goa_identity_manager_name_identity (self->priv->identity_manager,
- identity);
realm = goa_kerberos_identity_get_realm_name (GOA_KERBEROS_IDENTITY (identity));
preauth_source = goa_kerberos_identity_get_preauthentication_source (GOA_KERBEROS_IDENTITY (identity));
@@ -942,7 +939,7 @@ add_temporary_account (GoaIdentityService *self,
goa_manager_call_add_account (self->priv->accounts_manager,
"kerberos",
principal,
- principal_for_display,
+ principal,
g_variant_builder_end (&credentials),
g_variant_builder_end (&details),
NULL,
@@ -951,7 +948,6 @@ add_temporary_account (GoaIdentityService *self,
operation_result);
g_free (realm);
g_free (preauth_source);
- g_free (principal_for_display);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]