mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-02-02 21:27:15 +08:00
remove device offline action
This commit is contained in:
parent
a42f14f013
commit
ead6ecc218
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user