diff --git a/src/web/handlers/config/rustdesk.rs b/src/web/handlers/config/rustdesk.rs index 6801a6c8..659f0d0b 100644 --- a/src/web/handlers/config/rustdesk.rs +++ b/src/web/handlers/config/rustdesk.rs @@ -63,7 +63,6 @@ pub struct RustDeskConfigResponse { pub relay_server: Option, pub device_id: String, pub has_password: bool, - pub has_keypair: bool, pub relay_key: Option, } @@ -78,7 +77,6 @@ impl From<&RustDeskConfig> for RustDeskConfigResponse { relay_server: config.relay_server.clone(), device_id: config.device_id.clone(), has_password: !config.device_password.is_empty(), - has_keypair: config.public_key.is_some() && config.private_key.is_some(), relay_key: config.relay_key.clone(), } } diff --git a/web/src/api/config.ts b/web/src/api/config.ts index f54b9628..a6c01c88 100644 --- a/web/src/api/config.ts +++ b/web/src/api/config.ts @@ -228,7 +228,6 @@ export interface RustDeskConfigResponse { relay_server: string | null device_id: string has_password: boolean - has_keypair: boolean relay_key: string | null } diff --git a/web/src/i18n/en-US.ts b/web/src/i18n/en-US.ts index 1a8b5876..726450bb 100644 --- a/web/src/i18n/en-US.ts +++ b/web/src/i18n/en-US.ts @@ -1101,7 +1101,6 @@ export default { notInitialized: 'Not Initialized', copyId: 'Copy ID', copyPassword: 'Copy Password', - keypairGenerated: 'Keypair Generated', }, rtsp: { title: 'RTSP Streaming', diff --git a/web/src/i18n/zh-CN.ts b/web/src/i18n/zh-CN.ts index 37b544dd..7f1e0188 100644 --- a/web/src/i18n/zh-CN.ts +++ b/web/src/i18n/zh-CN.ts @@ -1100,7 +1100,6 @@ export default { notInitialized: '未初始化', copyId: '复制 ID', copyPassword: '复制密码', - keypairGenerated: '密钥对已生成', }, rtsp: { title: 'RTSP 视频流', diff --git a/web/src/views/SettingsView.vue b/web/src/views/SettingsView.vue index 8562c038..2b69693f 100644 --- a/web/src/views/SettingsView.vue +++ b/web/src/views/SettingsView.vue @@ -5217,15 +5217,6 @@ watch(isWindows, () => { - -
- -
- - {{ rustdeskConfig?.has_keypair ? t('common.yes') : t('common.no') }} - -
-