diff --git a/src/i18n/langs/cn.json b/src/i18n/langs/cn.json index d59ac95ca..425f219f6 100644 --- a/src/i18n/langs/cn.json +++ b/src/i18n/langs/cn.json @@ -167,6 +167,7 @@ "Version": "版本", "command_filter_list": "命令过滤器列表", "date_joined": "创建日期", + "sshKeyFingerprint": "SSH 指纹", "ip": "IP", "sshkey": "sshkey", "GroupsHelpMessage": "请输入用户组,多个用户组使用逗号分隔(需填写已存在的用户组)", diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index 772587479..a596ef004 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -167,6 +167,7 @@ "Version": "Version", "command_filter_list": "Command filter list", "date_joined": "Date joined", + "sshKeyFingerprint": "SSH fingerprint", "ip": "IP", "sshkey": "sshkey", "GroupsHelpMessage": "Please fill in user groups, separated by commas if there are multiple user groups(Please fill in the existing user groups)", diff --git a/src/views/assets/AdminUser/AdminUserDetail/Detail.vue b/src/views/assets/AdminUser/AdminUserDetail/Detail.vue index 732f7896b..4cdc74e4c 100644 --- a/src/views/assets/AdminUser/AdminUserDetail/Detail.vue +++ b/src/views/assets/AdminUser/AdminUserDetail/Detail.vue @@ -66,6 +66,10 @@ export default { key: this.$t('assets.Username'), value: this.object.username }, + { + key: this.$t('assets.sshKeyFingerprint'), + value: this.object.ssh_key_fingerprint + }, { key: this.$t('assets.date_joined'), value: toSafeLocalDateStr(this.object.date_created)