Close pam session

This commit is contained in:
Gusted 2025-03-09 19:25:48 +01:00
parent 088f86d3b8
commit 675831bc15
No known key found for this signature in database
GPG key ID: FD821B732837125F

View file

@ -28,6 +28,7 @@ func Auth(serviceName, userName, passwd string) (string, error) {
if err != nil {
return "", err
}
defer t.End()
if err = t.Authenticate(0); err != nil {
return "", err