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

@@ -230,13 +230,6 @@ impl ExtensionManager {
"-W".to_string(), // Writable (allow input)
];
// Add credential if set (still useful for additional security layer)
if let Some(ref cred) = c.credential {
if !cred.is_empty() {
args.extend(["-c".to_string(), cred.clone()]);
}
}
// Add shell as last argument
args.push(c.shell.clone());
Ok(args)