summaryrefslogtreecommitdiffhomepage
path: root/mullvad-cli/src
diff options
context:
space:
mode:
authorJonathan <jonathan@mullvad.net>2023-06-21 13:12:47 +0200
committerJonathan <jonathan@mullvad.net>2023-06-21 13:12:47 +0200
commitb2f2a44f9d88f981d46162d46f61c1f206cf0eb7 (patch)
tree07034d5b0607885466a4228d653b3fa4899cef31 /mullvad-cli/src
parentbaf88cd406978204f8cd8a6667ed8356bd87fc3f (diff)
parentdc02ea91afbccf6baa221bcce5878d917210ab62 (diff)
downloadmullvadvpn-b2f2a44f9d88f981d46162d46f61c1f206cf0eb7.tar.xz
mullvadvpn-b2f2a44f9d88f981d46162d46f61c1f206cf0eb7.zip
Merge branch 'mullvad-account-get-doesnt-print-the-old-account-number-when-des-237'
Diffstat (limited to 'mullvad-cli/src')
-rw-r--r--mullvad-cli/src/cmds/account.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/mullvad-cli/src/cmds/account.rs b/mullvad-cli/src/cmds/account.rs
index 7faf0856e1..d0da9165fc 100644
--- a/mullvad-cli/src/cmds/account.rs
+++ b/mullvad-cli/src/cmds/account.rs
@@ -127,6 +127,9 @@ impl Account {
}
DeviceState::Revoked => {
println!("{REVOKED_MESSAGE}");
+ if let Some(account_token) = rpc.get_account_history().await? {
+ println!("Mullvad account: {}", account_token);
+ }
}
}