sources/ldap: migrate property mappings to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -119,10 +119,8 @@ class LDAPPropertyMapping(PropertyMapping):
|
||||
object_field = models.TextField()
|
||||
|
||||
@property
|
||||
def form(self) -> Type[ModelForm]:
|
||||
from authentik.sources.ldap.forms import LDAPPropertyMappingForm
|
||||
|
||||
return LDAPPropertyMappingForm
|
||||
def component(self) -> str:
|
||||
return "ak-property-mapping-ldap-form"
|
||||
|
||||
@property
|
||||
def serializer(self) -> Type[Serializer]:
|
||||
|
||||
Reference in New Issue
Block a user