Remove sensitive data from logs

This commit is contained in:
ismailgulek
2022-06-13 00:16:06 +03:00
parent 6063d4a850
commit 090a308b7f
@@ -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)
}
}