outpost/ldap: cleanup
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
8110d2861b
commit
4d36699b78
|
@ -4,7 +4,6 @@ import (
|
||||||
"github.com/nmcclain/ldap"
|
"github.com/nmcclain/ldap"
|
||||||
"goauthentik.io/api"
|
"goauthentik.io/api"
|
||||||
"goauthentik.io/internal/outpost/ldap/constants"
|
"goauthentik.io/internal/outpost/ldap/constants"
|
||||||
"goauthentik.io/internal/outpost/ldap/group"
|
|
||||||
"goauthentik.io/internal/outpost/ldap/utils"
|
"goauthentik.io/internal/outpost/ldap/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -32,8 +31,3 @@ func (pi *ProviderInstance) UserEntry(u api.User) *ldap.Entry {
|
||||||
})
|
})
|
||||||
return &ldap.Entry{DN: dn, Attributes: attrs}
|
return &ldap.Entry{DN: dn, Attributes: attrs}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (pi *ProviderInstance) GroupEntry(g group.LDAPGroup) *ldap.Entry {
|
|
||||||
// TODO: Remove
|
|
||||||
return g.Entry()
|
|
||||||
}
|
|
||||||
|
|
Reference in New Issue