Skip to content

Commit

Permalink
Merge branch 'mullvad-account-get-doesnt-print-the-old-account-number…
Browse files Browse the repository at this point in the history
…-when-des-237'
  • Loading branch information
Jontified committed Jun 21, 2023
2 parents baf88cd + dc02ea9 commit b2f2a44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ Line wrap the file at 100 chars. Th
`mullvad tunnel ipv6 get`.
- Update the CLI multihop settings to make it possible to set the entry location without toggling
multihop on or off.
- In the CLI, the `mullvad account get` command will now print the account
number (if there is one) after the device has been revoked.

#### Windows
- In the CLI, add a unified `mullvad split-tunnel get` command to replace the old commands
Expand Down
3 changes: 3 additions & 0 deletions mullvad-cli/src/cmds/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

Expand Down

0 comments on commit b2f2a44

Please sign in to comment.