Browse code

BM-12801 Fix: outlook, no password in logs

Nicolas Lascombes authored on 08/02/2018 13:44:13
Showing 1 changed files
... ...
@@ -120,7 +120,14 @@ namespace core2client
120 120
                     }
121 121
                     else
122 122
                     {
123
-                        this.logger.LogMessage(" " + body);
123
+                        if (path.EndsWith("/loginWithParams"))
124
+                        {
125
+                            this.logger.LogMessage(" *****");
126
+                        }
127
+                        else
128
+                        {
129
+                            this.logger.LogMessage(" " + body);
130
+                        }
124 131
                         request.ContentType = "application/json; charset=utf-8";
125 132
                         byteArray = Encoding.UTF8.GetBytes(body);
126 133
                     }