perf: 修改同名账号的提示

pull/11439/head
ibuler 2023-08-28 11:24:54 +08:00
parent 2f0c346365
commit 6f3871d5fe
1 changed files with 7 additions and 3 deletions

View File

@ -19,8 +19,12 @@ class VirtualAccountSerializer(serializers.ModelSerializer):
'comment': {'label': _('Comment')},
'name': {'label': _('Name')},
'username': {'label': _('Username')},
'secret_from_login': {'help_text': _('Current only support login from AD/LDAP. Secret priority: '
'Same account in asset secret > Login secret > Manual input')
},
'secret_from_login': {
'help_text': _(
'Current only support login from AD/LDAP. Secret priority: '
'Same account in asset secret > Login secret > Manual input. '
'For security, please set config CACHE_LOGIN_PASSWORD_ENABLED to true'
)
},
'alias': {'required': False},
}