mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-28 11:16:52 +01:00
parent
bb91f589e1
commit
28c2e5070d
1 changed files with 0 additions and 2 deletions
|
|
@ -40,8 +40,6 @@ func (this LDAP) Init(params map[string]string, app *App) (IBackend, error) {
|
|||
if obj := LDAPCache.Get(params); obj != nil {
|
||||
return obj.(*LDAP), nil
|
||||
}
|
||||
params["hostname"] = strings.TrimPrefix("ldap://", params["hostname"])
|
||||
params["hostname"] = strings.TrimPrefix("ldaps://", params["hostname"])
|
||||
|
||||
dialURL := func() string {
|
||||
if params["port"] == "" {
|
||||
|
|
|
|||
Loading…
Reference in a new issue