[epiphany/gnome-3-20] web-view: Always save passwords in web app mode
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-20] web-view: Always save passwords in web app mode
- Date: Tue, 29 Mar 2016 18:42:00 +0000 (UTC)
commit 9e75e2cbbd062bd8bad2fe5acefa7a05574b7221
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Mon Feb 29 10:23:58 2016 -0600
web-view: Always save passwords in web app mode
If you made a web app for the site, you surely want it to remember your
password. Don't bug the user about this.
https://bugzilla.gnome.org/show_bug.cgi?id=672573
embed/ephy-web-view.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 4f3e386..6938865 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -688,6 +688,13 @@ form_auth_data_save_requested (EphyEmbedShell *shell,
if (webkit_web_view_get_page_id (WEBKIT_WEB_VIEW (web_view)) != page_id)
return;
+ if (ephy_embed_shell_get_mode (shell) == EPHY_EMBED_SHELL_MODE_APPLICATION) {
+ ephy_web_extension_proxy_form_auth_data_save_confirmation_response (web_view->web_extension,
+ request_id,
+ TRUE);
+ return;
+ }
+
info_bar = ephy_web_view_create_form_auth_save_confirmation_info_bar (web_view, hostname, username);
data = g_slice_new (FormAuthRequestData);
data->web_view = web_view;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]