feat: update and get local user private key path
This commit is contained in:
@@ -115,6 +115,8 @@ export class DevStarExtension {
|
||||
fs.unlinkSync(this.user.getUserPublicKeyPath())
|
||||
}
|
||||
console.log("User's ssh key has been deleted!")
|
||||
// 更新local user private key path
|
||||
this.user.updateLocalUserPrivateKeyPath("")
|
||||
// 退出登录
|
||||
this.user.logout()
|
||||
})
|
||||
|
Reference in New Issue
Block a user