[gdm] manager: make sure timed login conversation is started



commit 4e9cd504cfd346eeee0abec7eaf730cd06b7ada6
Author: Ray Strode <rstrode redhat com>
Date:   Wed Feb 24 13:13:24 2016 -0500

    manager: make sure timed login conversation is started
    
    At some point in a refactor we apparently stopped starting
    the PAM conversation used for timed login.
    
    This commit adds it back.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762635

 daemon/gdm-manager.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index e8a503c..b0c04c5 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -1876,6 +1876,9 @@ on_session_client_connected (GdmSession      *session,
 
         gdm_session_set_timed_login_details (session, username, delay);
 
+        g_debug ("GdmManager: Starting automatic login conversation (for timed login)");
+        gdm_session_start_conversation (session, "gdm-autologin");
+
         g_free (username);
 
 }


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