loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update module github.com/msteinert/pam to v2 (forgejo) (#7186)

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7186
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>

authored by

Renovate Bot
Renovate Bot
and committed by
Gusted
3dc222e4 91a791bf

+5 -4
+1 -1
go.mod
··· 77 77 github.com/mholt/archiver/v3 v3.5.1 78 78 github.com/microcosm-cc/bluemonday v1.0.27 79 79 github.com/minio/minio-go/v7 v7.0.85 80 - github.com/msteinert/pam v1.2.0 80 + github.com/msteinert/pam/v2 v2.0.0 81 81 github.com/nektos/act v0.2.52 82 82 github.com/niklasfasching/go-org v1.7.0 83 83 github.com/olivere/elastic/v7 v7.0.32
+2 -2
go.sum
··· 1279 1279 github.com/mrjones/oauth v0.0.0-20190623134757-126b35219450/go.mod h1:skjdDftzkFALcuGzYSklqYd8gvat6F1gZJ4YPVbkZpM= 1280 1280 github.com/mschoch/smat v0.2.0 h1:8imxQsjDm8yFEAVBe7azKmKSgzSkZXDuKkSq9374khM= 1281 1281 github.com/mschoch/smat v0.2.0/go.mod h1:kc9mz7DoBKqDyiRL7VZN8KvXQMWeTaVnttLRXOlotKw= 1282 - github.com/msteinert/pam v1.2.0 h1:mYfjlvN2KYs2Pb9G6nb/1f/nPfAttT/Jee5Sq9r3bGE= 1283 - github.com/msteinert/pam v1.2.0/go.mod h1:d2n0DCUK8rGecChV3JzvmsDjOY4R7AYbsNxAT+ftQl0= 1282 + github.com/msteinert/pam/v2 v2.0.0 h1:jnObb8MT6jvMbmrUQO5J/puTUjxy7Av+55zVJRJsCyE= 1283 + github.com/msteinert/pam/v2 v2.0.0/go.mod h1:KT28NNIcDFf3PcBmNI2mIGO4zZJ+9RSs/At2PB3IDVc= 1284 1284 github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= 1285 1285 github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= 1286 1286 github.com/niklasfasching/go-org v1.7.0 h1:vyMdcMWWTe/XmANk19F4k8XGBYg0GQ/gJGMimOjGMek=
+2 -1
modules/auth/pam/pam.go
··· 8 8 import ( 9 9 "errors" 10 10 11 - "github.com/msteinert/pam" 11 + "github.com/msteinert/pam/v2" 12 12 ) 13 13 14 14 // Supported is true when built with PAM ··· 28 28 if err != nil { 29 29 return "", err 30 30 } 31 + defer t.End() 31 32 32 33 if err = t.Authenticate(0); err != nil { 33 34 return "", err