[evolution] EWebDAVConfigLookup: Set also authentication method



commit ac987d7c4778ccc3d44e8498bf253cf660f120d2
Author: Milan Crha <mcrha redhat com>
Date:   Mon Apr 25 15:53:24 2022 +0200

    EWebDAVConfigLookup: Set also authentication method
    
    This way the password stored with the collection account can be used
    with the child sources, thus users are not asked for their password
    for each child source.

 src/modules/config-lookup/e-webdav-config-lookup.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/modules/config-lookup/e-webdav-config-lookup.c 
b/src/modules/config-lookup/e-webdav-config-lookup.c
index a4646138c6..75b1a3c2aa 100644
--- a/src/modules/config-lookup/e-webdav-config-lookup.c
+++ b/src/modules/config-lookup/e-webdav-config-lookup.c
@@ -132,6 +132,9 @@ webdav_config_lookup_to_result (EConfigLookup *config_lookup,
        e_config_lookup_result_simple_add_string (lookup_result, E_SOURCE_EXTENSION_AUTHENTICATION,
                "user", user);
 
+       e_config_lookup_result_simple_add_string (lookup_result, E_SOURCE_EXTENSION_AUTHENTICATION,
+               "method", "plain/password");
+
        if (has_calendar) {
                e_config_lookup_result_simple_add_string (lookup_result, E_SOURCE_EXTENSION_COLLECTION,
                        "calendar-url", url);


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