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.
This commit is contained in:
Milan Crha 2022-04-25 15:53:24 +02:00
parent 26e1689b98
commit ac987d7c47

View File

@ -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);