feat:支持配置全局组织的显示名称 (#5919)

Co-authored-by: liubo <liubo@fit2cloud.com>
This commit is contained in:
liuboF2c
2021-04-08 13:55:58 +08:00
committed by GitHub
parent 32fe8f674c
commit 8b1e202e68
6 changed files with 18 additions and 2 deletions

View File

@@ -24,6 +24,10 @@ class BasicSettingSerializer(serializers.Serializer):
help_text=_('The forgot password url on login page, If you use '
'ldap or cas external authentication, you can set it')
)
GLOBAL_ORG_DISPLAY_NAME = serializers.CharField(
required=False, max_length=1024, allow_blank=True, allow_null=True, label=_("Global organization name"),
help_text=_('The name of global organization to display')
)
class EmailSettingSerializer(serializers.Serializer):