[gnome-software/wip/temp/ubuntu-xenial-rebased: 93/326] Fix requests in login dialog
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased: 93/326] Fix requests in login dialog
- Date: Fri, 29 Apr 2016 09:55:08 +0000 (UTC)
commit 84cda3fbd8ba4b5ae3704cc86949be563b49d756
Author: William Hua <william hua canonical com>
Date: Thu Feb 11 17:13:36 2016 -0500
Fix requests in login dialog
src/plugins/gs-ubuntu-login-dialog.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/plugins/gs-ubuntu-login-dialog.c b/src/plugins/gs-ubuntu-login-dialog.c
index 8622b4b..7b74f08 100644
--- a/src/plugins/gs-ubuntu-login-dialog.c
+++ b/src/plugins/gs-ubuntu-login-dialog.c
@@ -285,10 +285,10 @@ send_login_request (GsUbuntuLoginDialog *self)
SOUP_METHOD_POST,
"/api/v2/tokens/oauth",
g_variant_new_parsed ("{"
- " 'token_name' : 'GNOME Software',"
- " 'email' : %s,"
- " 'password' : %s,"
- " 'otp' : %s"
+ " 'token_name' : <'GNOME Software'>,"
+ " 'email' : <%s>,"
+ " 'password' : <%s>,"
+ " 'otp' : <%s>"
"}",
gtk_entry_get_text (GTK_ENTRY (self->email_entry)),
gtk_entry_get_text (GTK_ENTRY (self->password_entry)),
@@ -300,9 +300,9 @@ send_login_request (GsUbuntuLoginDialog *self)
SOUP_METHOD_POST,
"/api/v2/tokens/oauth",
g_variant_new_parsed ("{"
- " 'token_name' : 'GNOME Software',"
- " 'email' : %s,"
- " 'password' : %s"
+ " 'token_name' : <'GNOME Software'>,"
+ " 'email' : <%s>,"
+ " 'password' : <%s>"
"}",
gtk_entry_get_text (GTK_ENTRY (self->email_entry)),
gtk_entry_get_text (GTK_ENTRY (self->password_entry))),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]