remove device offline action

This commit is contained in:
tickstep 2024-01-30 14:32:43 +08:00
parent a42f14f013
commit ead6ecc218

View File

@ -117,10 +117,9 @@ func CmdLogout() cli.Command {
}
// 云端注销登录
if _, e := activeUser.PanClient().DeviceLogout(); e != nil {
fmt.Printf("登出设备失败,请稍后重试: %s\n", e.String())
return nil
}
//if _, e := activeUser.PanClient().DeviceLogout(); e != nil {
// fmt.Printf("登出设备失败,请手动在网页端进行登出: %s\n", e.String())
//}
// 删除用户信息
deletedUser, err := config.Config.DeleteUser(activeUser.UserId)