[gdm/multi-stack: 46/46] Don't delay login for passwd -d users
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/multi-stack: 46/46] Don't delay login for passwd -d users
- Date: Fri, 26 Mar 2010 13:37:28 +0000 (UTC)
commit 5cb866b67eb87909a963d174c9ea01a732c3d0c2
Author: Ray Strode <rstrode redhat com>
Date: Fri Nov 6 13:35:26 2009 -0500
Don't delay login for passwd -d users
Before we'd delay login if timed login was enabled, but
we should have been checking if it was the reason login
was happening.
gui/simple-greeter/gdm-greeter-login-window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-greeter-login-window.c b/gui/simple-greeter/gdm-greeter-login-window.c
index 4a3df26..de45663 100644
--- a/gui/simple-greeter/gdm-greeter-login-window.c
+++ b/gui/simple-greeter/gdm-greeter-login-window.c
@@ -966,7 +966,7 @@ gdm_greeter_login_window_start_session_when_ready (GdmGreeterLoginWindow *login_
* so they can pick language/session. Will need to refactor things
* a bit so we can share code with timed login.
*/
- if (!login_window->priv->timed_login_enabled) {
+ if (strcmp (service_name, "gdm-autologin") != 0) {
g_debug ("GdmGreeterLoginWindow: Okay, we'll start the session anyway,"
"because the user isn't ever going to get an opportunity to"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]