mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-04-26 06:04:46 +00:00
Close pam session
This commit is contained in:
parent
088f86d3b8
commit
675831bc15
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ func Auth(serviceName, userName, passwd string) (string, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
defer t.End()
|
||||||
|
|
||||||
if err = t.Authenticate(0); err != nil {
|
if err = t.Authenticate(0); err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
|
|
Loading…
Reference in a new issue