Skip to content

Commit

Permalink
fixed:Fixed an issue where anonymous accounts could not download rdp …
Browse files Browse the repository at this point in the history
…files under Web assets
  • Loading branch information
ZhaoJiSen committed Nov 5, 2024
1 parent 1fd2588 commit 20415d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class ElementConnectMethodComponent implements OnInit {
return false;
}
if (this.account && !this.account.has_secret) {
const aliases = ['@USER', '@INPUT'];
const aliases = ['@USER', '@INPUT', '@ANON'];
// 同名账号、手动输入可以下载RDP文件
if (!aliases.includes(this.account.alias) || (!this.manualAuthInfo.username)) {
return false;
Expand Down

0 comments on commit 20415d2

Please sign in to comment.