feat: support checking password through ldap server (#354)

Signed-off-by: Товарищ программист <2962928213@qq.com>
This commit is contained in:
Товарищ программист
2021-12-10 22:45:01 +08:00
committed by GitHub
parent 967113689d
commit 6947ebd152
3 changed files with 44 additions and 1 deletions

View File

@ -17,10 +17,11 @@ package object
import (
"errors"
"fmt"
"strings"
"github.com/casbin/casdoor/util"
goldap "github.com/go-ldap/ldap/v3"
"github.com/thanhpk/randstr"
"strings"
)
type Ldap struct {