diff --git a/package.json b/package.json index a79802a..926b1d7 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "terminus-sync-config", - "version": "1.0.4", + "version": "1.0.5", "description": "Sync configuration files to GitHub Gist or Gitee Gist", "keywords": [ "terminus-plugin" diff --git a/src/components/SettingsTab.component.ts b/src/components/SettingsTab.component.ts index b8068a4..3121b94 100644 --- a/src/components/SettingsTab.component.ts +++ b/src/components/SettingsTab.component.ts @@ -129,7 +129,6 @@ export class SyncConfigSettingsTabComponent implements OnInit { try { if (conn.auth !== null && conn.auth.encryptType && conn.auth.encryptType === 'AES') { conn.auth.password = this.aesDecrypt(conn.auth.password, token); - conn.host = this.aesDecrypt(conn.host, token); } await this.passwordStorage.savePassword(conn) } catch (error) {