Skip to content

Commit

Permalink
rm host encrypt
Browse files Browse the repository at this point in the history
  • Loading branch information
huangxingguang authored and starxg committed Jun 19, 2021
1 parent 3767077 commit aebe0a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SettingsTab.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export class SyncConfigSettingsTabComponent implements OnInit {
const pwd = await this.passwordStorage.loadPassword({ host, port, user });
if (!pwd) continue;
infos.push({
host: isEncrypt ? this.aesDecrypt(host, token) : host, port, user,
host, port, user,
auth: {
password: isEncrypt ? this.aesEncrypt(pwd.toString(), token) : pwd,
encryptType: isEncrypt ? 'AES' : 'NONE'
Expand Down

0 comments on commit aebe0a4

Please sign in to comment.