diff options
Diffstat (limited to 'services/auth/source/ldap/source.go')
-rw-r--r-- | services/auth/source/ldap/source.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/services/auth/source/ldap/source.go b/services/auth/source/ldap/source.go index 87be0117ee..79f118f784 100644 --- a/services/auth/source/ldap/source.go +++ b/services/auth/source/ldap/source.go @@ -8,10 +8,9 @@ import ( "strings" "code.gitea.io/gitea/models" + "code.gitea.io/gitea/modules/json" "code.gitea.io/gitea/modules/secret" "code.gitea.io/gitea/modules/setting" - - jsoniter "github.com/json-iterator/go" ) // .____ ________ _____ __________ @@ -79,7 +78,6 @@ func (source *Source) ToDB() ([]byte, error) { return nil, err } source.BindPassword = "" - json := jsoniter.ConfigCompatibleWithStandardLibrary return json.Marshal(source) } |