diff options
author | Brian Cameron <brian.cameron@sun.com> | 2006-05-08 19:15:49 +0000 |
---|---|---|
committer | Brian Cameron <bcameron@src.gnome.org> | 2006-05-08 19:15:49 +0000 |
commit | a35a4abc615c6dbc30bf328f4e82c89e139e978b (patch) | |
tree | 6c0e6ddfc3d9b76de9fc71a5f12379ab14e1ab18 /daemon | |
parent | 2dee1a1967fc7b54308e35207034c0f9fd04c75c (diff) | |
download | gdm-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.c | 2 |
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 && |