Skip to content

Commit cbbaa13

Browse files
zeripathysf
authored andcommitted
1 parent 03d9242 commit cbbaa13

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
@@ -35,6 +35,10 @@ func Auth(serviceName, userName, passwd string) (string, error) {
3535
if err = t.Authenticate(0); err != nil {
3636
return "", err
3737
}
38+
39+
if err = t.AcctMgmt(0); err != nil {
40+
return "", err
41+
}
3842

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

0 commit comments

Comments
 (0)