diff options
author | Damien Miller <djm@mindrot.org> | 2015-08-11 13:33:24 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-08-11 13:36:00 +1000 |
commit | d4697fe9a28dab7255c60433e4dd23cf7fce8a8b (patch) | |
tree | 200eef558da3719f9be93d763496228bd8a24eee /monitor.c | |
parent | 88763a6c893bf3dfe951ba9271bf09715e8d91ca (diff) |
Don't resend username to PAM; it already has it.
Pointed out by Moritz Jodeit; ok dtucker@
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1084,9 +1084,7 @@ extern KbdintDevice sshpam_device; | |||
1084 | int | 1084 | int |
1085 | mm_answer_pam_init_ctx(int sock, Buffer *m) | 1085 | mm_answer_pam_init_ctx(int sock, Buffer *m) |
1086 | { | 1086 | { |
1087 | |||
1088 | debug3("%s", __func__); | 1087 | debug3("%s", __func__); |
1089 | authctxt->user = buffer_get_string(m, NULL); | ||
1090 | sshpam_ctxt = (sshpam_device.init_ctx)(authctxt); | 1088 | sshpam_ctxt = (sshpam_device.init_ctx)(authctxt); |
1091 | sshpam_authok = NULL; | 1089 | sshpam_authok = NULL; |
1092 | buffer_clear(m); | 1090 | buffer_clear(m); |