Skip to content

Commit

Permalink
fix: some bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
huangxingguang authored and starxg committed Jun 20, 2021
1 parent aebe0a4 commit 890b7e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 0 additions & 1 deletion src/components/SettingsTab.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 890b7e1

Please sign in to comment.