From 1f50ff47f0ea156e43d8b0ef4977f0b5a2e6ce48 Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Tue, 19 Feb 2013 13:16:55 +0200 Subject: ephy-profile-utils: migrate ephy_profile_utils_store/query_form_auth_data() to libsecret We add a new SecretSchema that is specific to epiphany and intended solely to store passwords for webforms. This is a better approach than hacking the server url in order to store the names of the forms in it. These methods are only used by EphyWebView to store the passwords and to retrieve the password when there is a cache match and by one of the early stages of password migration in the profile-migrator. If only this patch is applied, it is likely that only newly saved patchs will work properly, but others will remain intact. https://bugzilla.gnome.org/show_bug.cgi?id=679918 --- lib/ephy-profile-migrator.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/ephy-profile-migrator.c') diff --git a/lib/ephy-profile-migrator.c b/lib/ephy-profile-migrator.c index 35d2f8dcf..43f36a781 100644 --- a/lib/ephy-profile-migrator.c +++ b/lib/ephy-profile-migrator.c @@ -298,10 +298,11 @@ parse_and_decrypt_signons (const char *signons, char *u = soup_uri_to_string (uri, FALSE); /* We skip the '*' at the beginning of form_password. */ _ephy_profile_utils_store_form_auth_data (u, - form_username, - form_password+1, - username, - password); + form_username, + form_password+1, + username, + password, + NULL, NULL); g_free (u); } else if (!handle_forms && realm && username && password && -- cgit v1.2.3