perf: 修改 protocol setting (#10875)

* feat: 新增账号配置

* perf: 修改 platform protocol define

* perf: 修改 account config

* perf: 修改协议设置

---------

Co-authored-by: ibuler <ibuler@qq.com>
This commit is contained in:
fit2bot
2023-06-30 15:54:06 +08:00
committed by GitHub
parent 6962430e6a
commit bbbd011cc2
14 changed files with 570 additions and 400 deletions

View File

@@ -1,3 +1,3 @@
from .base import *
from .account import *
from .automations import *
from .base import *

View File

@@ -78,5 +78,8 @@ class BaseAccountSerializer(AuthValidateMixin, BulkOrgResourceModelSerializer):
]
extra_kwargs = {
'spec_info': {'label': _('Spec info')},
'username': {'help_text': _("Tip: If no username is required for authentication, fill in `null`")}
'username': {'help_text': _(
"Tip: If no username is required for authentication, fill in `null`, "
"If AD account, like `username@domain`"
)},
}