refactor: 移除 ttyd 扩展的“用户凭据”功能

This commit is contained in:
mofeng-git
2026-02-11 16:50:49 +08:00
parent 24c4002ef2
commit f912c977d0
7 changed files with 1 additions and 26 deletions

View File

@@ -102,9 +102,6 @@ pub struct TtydConfig {
pub port: u16,
/// Shell to execute
pub shell: String,
/// Credential in format "user:password" (optional)
#[serde(skip_serializing_if = "Option::is_none")]
pub credential: Option<String>,
}
impl Default for TtydConfig {
@@ -113,7 +110,6 @@ impl Default for TtydConfig {
enabled: false,
port: 7681,
shell: "/bin/bash".to_string(),
credential: None,
}
}
}