summaryrefslogtreecommitdiff
path: root/src/session-child.c
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2014-03-24 11:54:12 +1300
committerRobert Ancell <robert.ancell@canonical.com>2014-03-24 11:54:12 +1300
commitfd78090c02b996c1079b67de72fc4dc1f702dd36 (patch)
tree1a12c51e7abd5c66a9586e77f6bd4219b9757776 /src/session-child.c
parentf9a70850ac1e3881773280f2891ad183e2f50906 (diff)
downloadlightdm-fd78090c02b996c1079b67de72fc4dc1f702dd36.tar.gz
Use PAM_REINITIALIZE_CRED instead of PAM_REFRESH_CRED as that's what GDM/gnome-screensaver do
Diffstat (limited to 'src/session-child.c')
-rw-r--r--src/session-child.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session-child.c b/src/session-child.c
index 6945a940..7b6173c3 100644
--- a/src/session-child.c
+++ b/src/session-child.c
@@ -480,7 +480,7 @@ session_child_run (int argc, char **argv)
/* If nothing to run just refresh credentials because we successfully authenticated */
if (command_argc == 0)
{
- pam_setcred (pam_handle, PAM_REFRESH_CRED);
+ pam_setcred (pam_handle, PAM_REINITIALIZE_CRED);
return EXIT_SUCCESS;
}