mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-03-13 23:32:41 +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 {
|
||||
return "", err
|
||||
}
|
||||
defer t.End()
|
||||
|
||||
if err = t.Authenticate(0); err != nil {
|
||||
return "", err
|
||||
|
|
Loading…
Reference in a new issue