diff options
author | Ray Strode <rstrode@redhat.com> | 2012-09-17 15:18:02 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2012-09-17 16:41:26 -0400 |
commit | 6d5dd0936629d1d9754dfa93d4f4ac2738baaa84 (patch) | |
tree | d82c3269ad6f02d9559ef2d7da198bb3f8b53d32 /daemon/gdm-simple-slave.c | |
parent | dfce1962cbb3ca95b0e407450179a0965e6f3ec3 (diff) | |
download | gdm-6d5dd0936629d1d9754dfa93d4f4ac2738baaa84.tar.gz |
worker: Copy environment from login session to reauth sessions
Reauthentication sessions depend on having the same environment
as the session they were initiated from. This is important to
make sure login prompts are in the right language, to make sure
the kerberos credentials cache is looked up, and for various
other reasons.
This commit copies the environment from the login session to
any new reauthentication sessions that get started after login.
https://bugzilla.gnome.org/show_bug.cgi?id=684241
Diffstat (limited to 'daemon/gdm-simple-slave.c')
-rw-r--r-- | daemon/gdm-simple-slave.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c index 563f6edd..632153b1 100644 --- a/daemon/gdm-simple-slave.c +++ b/daemon/gdm-simple-slave.c @@ -754,7 +754,8 @@ create_new_session (GdmSimpleSlave *slave) display_device, display_seat_id, display_x11_authority_file, - display_is_local); + display_is_local, + NULL); g_free (display_id); g_free (display_name); |