[evolution] EShell: Do not require Authentication extension for trust prompts



commit 118fa950fadcc1fdd8fd43257b9fc3b9a1b9a3f6
Author: Milan Crha <mcrha redhat com>
Date:   Fri Jun 19 11:05:56 2015 +0200

    EShell: Do not require Authentication extension for trust prompts
    
    It was made optional earlier, but the code still required it.

 shell/e-shell.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 988d90e..6530a56 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -979,8 +979,6 @@ shell_process_credentials_required_errors (EShell *shell,
                shell_submit_source_connection_alert (shell, source, alert);
                g_object_unref (alert);
        } else if (reason == E_SOURCE_CREDENTIALS_REASON_SSL_FAILED) {
-               g_return_if_fail (e_source_has_extension (source, E_SOURCE_EXTENSION_AUTHENTICATION));
-
                if (e_credentials_prompter_get_auto_prompt_disabled_for (shell->priv->credentials_prompter, 
source)) {
                        /* Only show an alert */
                        EAlert *alert;


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