aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-single.c
diff options
context:
space:
mode:
authorGustavo Noronha Silva <gns@gnome.org>2009-12-15 23:25:31 +0800
committerGustavo Noronha Silva <gns@gnome.org>2009-12-16 01:51:50 +0800
commit4b6b634eafc02928b7865057f6f745f14735a78b (patch)
tree84b5e8f140c6ff28214c3a2beb3e3629aaa14dd0 /embed/ephy-embed-single.c
parent9d419181e0630431de079b777f1e537452fc69e4 (diff)
downloadgsoc2013-epiphany-4b6b634eafc02928b7865057f6f745f14735a78b.tar
gsoc2013-epiphany-4b6b634eafc02928b7865057f6f745f14735a78b.tar.gz
gsoc2013-epiphany-4b6b634eafc02928b7865057f6f745f14735a78b.tar.bz2
gsoc2013-epiphany-4b6b634eafc02928b7865057f6f745f14735a78b.tar.lz
gsoc2013-epiphany-4b6b634eafc02928b7865057f6f745f14735a78b.tar.xz
gsoc2013-epiphany-4b6b634eafc02928b7865057f6f745f14735a78b.tar.zst
gsoc2013-epiphany-4b6b634eafc02928b7865057f6f745f14735a78b.zip
Implement the actual form authentication saving and pre-filling
This is a "draft" quality implementation. There are some FIXMEs, and a bunch of caveats, like private profiles not being taken into consideration, and the user not being asked whether they want to save the passwords or not. Bug #582267
Diffstat (limited to 'embed/ephy-embed-single.c')
-rw-r--r--embed/ephy-embed-single.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index 5e7f6a2d9..f8e0319a9 100644
--- a/embed/ephy-embed-single.c
+++ b/embed/ephy-embed-single.c
@@ -26,6 +26,7 @@
#include "ephy-embed-single.h"
#include "ephy-embed-prefs.h"
#include "ephy-embed-type-builtins.h"
+#include "ephy-debug.h"
#include "ephy-file-helpers.h"
#include "ephy-marshal.h"
#include "ephy-signal-accumulator.h"
@@ -648,6 +649,8 @@ ephy_embed_single_add_form_auth (EphyEmbedSingle *single,
priv = single->priv;
+ LOG ("Appending: name field: %s / pass field: %s / username: %s / uri: %s", form_username, form_password, username, uri);
+
form_data = form_auth_data_new (form_username, form_password, username);
l = g_hash_table_lookup (priv->form_auth_data,
uri);