Skip to content

Commit

Permalink
Remove sensitive data from logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailgulek committed Jun 12, 2022
1 parent 8f1eb8f commit e77fb6d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ final class ChangePasswordCoordinator: Coordinator, Presentable {
@MainActor private func setupViewModel() {
changePasswordViewModel.callback = { [weak self] result in
guard let self = self else { return }
MXLog.debug("[ChangePasswordCoordinator] ChangePasswordViewModel did complete with result: \(result).")


switch result {
case .submit(let oldPassword, let newPassword, let signoutAllDevices):
MXLog.debug("[ChangePasswordCoordinator] ChangePasswordViewModel did complete with result: submit.")
self.changePassword(from: oldPassword, to: newPassword, signoutAllDevices: signoutAllDevices)
}
}
Expand Down

0 comments on commit e77fb6d

Please sign in to comment.