Commit e1b27965 authored by ibuler's avatar ibuler

[Update] 修改判断

parent 793cfc46
......@@ -286,7 +286,7 @@ export class ElementAssetTreeComponent implements OnInit, OnChanges {
}
manualSetUserAuthLoginIfNeed(host, user, callback) {
if (user.login_mode !== 'manual') {
if (user.login_mode !== 'manual' || user.protocol !== 'rdp') {
return callback(host, user);
}
user = Object.assign({}, user);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment