diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2022-08-01 16:10:04 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2022-08-01 16:10:04 +0200 |
| commit | a3df757018bc0b41036d2ec710819b16be356bb5 (patch) | |
| tree | 3488694d74c9ea19ce744be14ecda8ca639c829b /ios/MullvadVPN/ProblemReportViewController.swift | |
| parent | 68303e0872fa3370e31ec3e83a1d1f40c05caf37 (diff) | |
| parent | a9fd39392f26e8952051295357246daa598205b5 (diff) | |
| download | mullvadvpn-a3df757018bc0b41036d2ec710819b16be356bb5.tar.xz mullvadvpn-a3df757018bc0b41036d2ec710819b16be356bb5.zip | |
Merge branch 'add-device-state'
Diffstat (limited to 'ios/MullvadVPN/ProblemReportViewController.swift')
| -rw-r--r-- | ios/MullvadVPN/ProblemReportViewController.swift | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ios/MullvadVPN/ProblemReportViewController.swift b/ios/MullvadVPN/ProblemReportViewController.swift index 5f1213f76c..0087faa18f 100644 --- a/ios/MullvadVPN/ProblemReportViewController.swift +++ b/ios/MullvadVPN/ProblemReportViewController.swift @@ -19,7 +19,9 @@ class ProblemReportViewController: UIViewController, UITextFieldDelegate, Condit let securityGroupIdentifier = ApplicationConfiguration.securityGroupIdentifier // TODO: make sure we redact old tokens - let redactStrings = TunnelManager.shared.accountNumber.flatMap { [$0] } ?? [] + + let redactStrings = [TunnelManager.shared.deviceState.accountData?.number] + .compactMap { $0 } let report = ConsolidatedApplicationLog( redactCustomStrings: redactStrings, |
