Skip to content

Commit

Permalink
Move to ldap.v3 to fix go-gitea#5928
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Thornton <art27@cantab.net>
  • Loading branch information
zeripath committed Feb 17, 2019
1 parent 11e3166 commit c23f166
Show file tree
Hide file tree
Showing 24 changed files with 721 additions and 433 deletions.
10 changes: 5 additions & 5 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ ignored = ["google.golang.org/appengine*"]
version = "1.31.1"

[[constraint]]
name = "gopkg.in/ldap.v2"
version = "2.4.1"
name = "gopkg.in/ldap.v3"
version = "3.0.1"

[[constraint]]
name = "gopkg.in/macaron.v1"
Expand Down
4 changes: 2 additions & 2 deletions modules/auth/ldap/ldap.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"fmt"
"strings"

"gopkg.in/ldap.v2"

"code.gitea.io/gitea/modules/log"

ldap "gopkg.in/ldap.v3"
)

// SecurityProtocol protocol type
Expand Down
13 changes: 0 additions & 13 deletions vendor/gopkg.in/ldap.v2/atomic_value.go

This file was deleted.

28 changes: 0 additions & 28 deletions vendor/gopkg.in/ldap.v2/atomic_value_go13.go

This file was deleted.

155 changes: 0 additions & 155 deletions vendor/gopkg.in/ldap.v2/error.go

This file was deleted.

File renamed without changes.
16 changes: 11 additions & 5 deletions vendor/gopkg.in/ldap.v2/add.go → vendor/gopkg.in/ldap.v3/add.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c23f166

Please sign in to comment.