[epiphany] Revert "Store HTTP Auth passwords in password manager"



commit b780fc47d4331d97a75ef592a3f737c0be4f6969
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Jun 23 09:50:42 2020 -0500

    Revert "Store HTTP Auth passwords in password manager"
    
    This reverts commit e4ebf2b37dfc753e29967fd4c55606cf8197ae14.

 embed/ephy-auth-dialog.c | 213 -----------------------------------------------
 embed/ephy-auth-dialog.h |  36 --------
 embed/ephy-web-view.c    |  13 +--
 embed/meson.build        |   1 -
 4 files changed, 2 insertions(+), 261 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index ea87460bf..716711d34 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -23,7 +23,6 @@
 #include "ephy-web-view.h"
 
 #include "ephy-about-handler.h"
-#include "ephy-auth-dialog.h"
 #include "ephy-debug.h"
 #include "ephy-embed-container.h"
 #include "ephy-embed-prefs.h"
@@ -2325,14 +2324,12 @@ authenticate_cb (WebKitWebView               *web_view,
                  WebKitAuthenticationRequest *request,
                  gpointer                     user_data)
 {
-  GtkWidget *dialog;
-  GtkWindow *window;
   EphyWebView *ephy_web_view = EPHY_WEB_VIEW (web_view);
   g_autoptr (WebKitCredential) credential = NULL;
 
   credential = webkit_authentication_request_get_proposed_credential (request);
 
-  /* In case we have known credentials and it is the first try, authenticate automatically */
+  /* In case we have known credentials and it is the firs try, authenticate automatically */
   if (credential && !webkit_authentication_request_is_retry (request)) {
     webkit_authentication_request_authenticate (request, credential);
     return TRUE;
@@ -2340,13 +2337,7 @@ authenticate_cb (WebKitWebView               *web_view,
 
   ephy_web_view->in_auth_dialog = 1;
 
-  dialog = ephy_auth_dialog_new (g_object_ref (request));
-  window = gtk_application_get_active_window (GTK_APPLICATION (g_application_get_default ()));
-  gtk_window_set_transient_for (GTK_WINDOW (dialog), window);
-
-  gtk_widget_show_all (dialog);
-
-  return TRUE;
+  return FALSE;
 }
 
 typedef struct {
diff --git a/embed/meson.build b/embed/meson.build
index ab55cbe14..dd92a9227 100644
--- a/embed/meson.build
+++ b/embed/meson.build
@@ -13,7 +13,6 @@ enums = gnome.mkenums_simple('ephy-embed-type-builtins',
 libephyembed_sources = [
   'contrib/gd-tagged-entry.c',
   'ephy-about-handler.c',
-  'ephy-auth-dialog.c',
   'ephy-downloads-manager.c',
   'ephy-download.c',
   'ephy-embed.c',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]