Skip to content

Commit 1314f38

Browse files
zeripathysf
andauthored
1 parent 7443213 commit 1314f38

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/auth/pam/pam.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ func Auth(serviceName, userName, passwd string) (string, error) {
3434
if err = t.Authenticate(0); err != nil {
3535
return "", err
3636
}
37+
38+
if err = t.AcctMgmt(0); err != nil {
39+
return "", err
40+
}
3741

3842
// PAM login names might suffer transformations in the PAM stack.
3943
// We should take whatever the PAM stack returns for it.

0 commit comments

Comments
 (0)