diff options
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, |
