mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-06-14 11:42:02 +08:00
refactor: 移除 ttyd 扩展的“用户凭据”功能
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user