[evolution] e-shell: Should retry source authenticate after successful trust prompt



commit 8e12b4d0e30896921d00d96c7a6024d2d1357781
Author: Milan Crha <mcrha redhat com>
Date:   Tue Mar 31 15:42:09 2020 +0200

    e-shell: Should retry source authenticate after successful trust prompt
    
    This was a bug in the code for https://gitlab.gnome.org/GNOME/evolution-data-server/issues/86,
    noticed when working on https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/204.

 src/shell/e-shell.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/shell/e-shell.c b/src/shell/e-shell.c
index d1c4f93560..55b0421d77 100644
--- a/src/shell/e-shell.c
+++ b/src/shell/e-shell.c
@@ -914,7 +914,7 @@ shell_trust_prompt_done_cb (GObject *source_object,
        /* If a credentials prompt is required, then it'll be shown immediately. */
        e_credentials_prompter_set_auto_prompt_disabled_for (tpd->shell->priv->credentials_prompter, source, 
FALSE);
 
-       if (!shell_maybe_propagate_ssl_trust (tpd->shell, source, tpd->original_ssl_trust)) {
+       if (shell_maybe_propagate_ssl_trust (tpd->shell, source, tpd->original_ssl_trust)) {
                /* NULL credentials to retry with those used the last time */
                e_source_invoke_authenticate (source, NULL, tpd->shell->priv->cancellable,
                        shell_source_invoke_authenticate_cb, tpd->shell);


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