sources/ldap: migrate property mappings to web

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-03-31 23:08:40 +02:00
parent 6a69425688
commit 221e6190c8
5 changed files with 74 additions and 73 deletions

View File

@ -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]: