[evolution-ews/gnome-3-34] Autodiscover: Do not change user name with RedirectAddr



commit 1852923a7a1b4dbf5b0e675584ac6409846a3134
Author: Milan Crha <mcrha redhat com>
Date:   Fri Oct 4 12:05:54 2019 +0200

    Autodiscover: Do not change user name with RedirectAddr
    
    The RedirectAddr is meant to be an email address with which to restart
    the autodiscover, it is not a user name for login. If the RedirectAddr
    redirects the autodiscover to a different server, then both should use
    the same credentials.
    
    Related to https://gitlab.gnome.org/GNOME/evolution-ews/issues/53

 src/server/e-ews-connection.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/src/server/e-ews-connection.c b/src/server/e-ews-connection.c
index 2ec4093d..294ee919 100644
--- a/src/server/e-ews-connection.c
+++ b/src/server/e-ews-connection.c
@@ -3295,9 +3295,6 @@ autodiscover_response_cb (SoupSession *session,
                if (!host_url)
                        host_url = camel_ews_settings_get_hosturl (settings);
 
-               if (redirect_addr && *redirect_addr)
-                       camel_network_settings_set_user (CAMEL_NETWORK_SETTINGS (settings), redirect_addr);
-
                re_scheduled = e_ews_discover_prepare_messages_and_send (simple, redirect_addr, host_url, 
NULL);
 
                g_clear_object (&settings);


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