summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorBrian Cameron <brian.cameron@sun.com>2006-05-08 19:15:49 +0000
committerBrian Cameron <bcameron@src.gnome.org>2006-05-08 19:15:49 +0000
commita35a4abc615c6dbc30bf328f4e82c89e139e978b (patch)
tree6c0e6ddfc3d9b76de9fc71a5f12379ab14e1ab18 /daemon
parent2dee1a1967fc7b54308e35207034c0f9fd04c75c (diff)
downloadgdm-a35a4abc615c6dbc30bf328f4e82c89e139e978b.tar.gz
Fix reference to the security/AllowRemoteAutoLogin so it is accessed as a
2006-05-04 Brian Cameron <brian.cameron@sun.com> * daemon/slave.c: Fix reference to the security/AllowRemoteAutoLogin so it is accessed as a boolean, not a string. Fixes remote autologin so it works again.
Diffstat (limited to 'daemon')
-rw-r--r--daemon/slave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/slave.c b/daemon/slave.c
index 292d0e86..b2474f01 100644
--- a/daemon/slave.c
+++ b/daemon/slave.c
@@ -4919,7 +4919,7 @@ check_for_interruption (const char *msg)
* it is allowed for this display (it's only allowed
* for the first local display) and if it's set up
* correctly */
- if ((d->attached || gdm_get_value_string (GDM_KEY_ALLOW_REMOTE_AUTOLOGIN))
+ if ((d->attached || gdm_get_value_bool (GDM_KEY_ALLOW_REMOTE_AUTOLOGIN))
&& d->timed_login_ok &&
! ve_string_empty (ParsedTimedLogin) &&
strcmp (ParsedTimedLogin, gdm_root_user ()) != 0 &&