aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pam-x2go.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pam-x2go.c b/src/pam-x2go.c
index 49df1db..4f28907 100644
--- a/src/pam-x2go.c
+++ b/src/pam-x2go.c
@@ -213,7 +213,7 @@ pam_sm_authenticate (pam_handle_t *pamh, int flags, int argc, const char **argv)
GET_ITEM(username, PAM_USER);
GET_ITEM(ruser, PAM_RUSER);
GET_ITEM(rhost, PAM_RHOST);
- GET_ITEM(rsession, PAM_TYPE_SESSIONTYPE);
+ GET_ITEM(rsession, PAM_TYPE_SESSIONTYPE);
GET_ITEM(password, PAM_AUTHTOK);
int stdinpipe[2];
@@ -278,7 +278,7 @@ pam_sm_open_session (pam_handle_t *pamh, int flags, int argc, const char ** argv
GET_ITEM(username, PAM_USER);
GET_ITEM(ruser, PAM_RUSER);
GET_ITEM(rhost, PAM_RHOST);
- GET_ITEM(rsession, PAM_TYPE_SESSIONTYPE);
+ GET_ITEM(rsession, PAM_TYPE_SESSIONTYPE);
GET_ITEM(password, PAM_AUTHTOK);
struct passwd * pwdent = getpwnam(username);