[geary] client: Less secure apps work with 2FA enabled. #1422



commit bb19174921bad3ae5904664d278667aafa32043a
Author: Cédric Bellegarde <cedric bellegarde adishatz org>
Date:   Mon Oct 10 17:38:46 2022 +0200

    client: Less secure apps work with 2FA enabled. #1422

 src/client/accounts/accounts-editor-add-pane.vala | 17 -----------------
 1 file changed, 17 deletions(-)
---
diff --git a/src/client/accounts/accounts-editor-add-pane.vala 
b/src/client/accounts/accounts-editor-add-pane.vala
index 1eb4eda3a..eaf1533ee 100644
--- a/src/client/accounts/accounts-editor-add-pane.vala
+++ b/src/client/accounts/accounts-editor-add-pane.vala
@@ -454,23 +454,6 @@ internal class Accounts.EditorAddPane : Gtk.Grid, EditorPane {
                           this.provider.to_string(), err.message);
                     add_local = true;
                 }
-                // Google Mail does not support "Less secure apps" anymore
-                if (add_local) {
-                    switch (this.provider) {
-                    case Geary.ServiceProvider.GMAIL:
-                        this.editor.add_notification(
-                            new Components.InAppNotification(
-                                // Translators: In-app notification label, when
-                                // GNOME Online Accounts are missing
-                                _("Online accounts are missing")
-                            )
-                        );
-                        add_local = false;
-                        break;
-                    default:
-                        break;
-                    }
-                }
 
                 if (add_local) {
                     switch_to_server_settings();


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