feat: create user's ssh key

This commit is contained in:
Levi Yan
2024-10-28 14:58:10 +08:00
parent 4b3868ced2
commit 126f800346
3 changed files with 13 additions and 7 deletions

View File

@@ -96,7 +96,7 @@ export default class DSHome {
break;
}
case 'createUserPublicKey':
this.user.createUserSSHKey();
await this.user.createUserSSHKey();
if (this.user.existUserPublicKey()) {
panel.webview.postMessage({command: 'createUserPublicKey', data: {ok: true}})
break;