mirror of https://github.com/jumpserver/jumpserver
fix: 修改ACL提示支持的协议为: ssh、telnet
parent
00ae4d2577
commit
e5e75e75af
|
@ -40,7 +40,7 @@ class LoginAssetACLSystemUsersSerializer(serializers.Serializer):
|
|||
protocol_group = serializers.ListField(
|
||||
default=['*'], child=serializers.CharField(max_length=16), label=_('Protocol'),
|
||||
help_text=const.common_help_text + _('Protocol options: {}').format(
|
||||
', '.join(SystemUser.ASSET_CATEGORY_PROTOCOLS)
|
||||
', '.join([SystemUser.PROTOCOL_SSH, SystemUser.PROTOCOL_TELNET])
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue