middleware: Log user.id/realm.string_id instead of _email.

This commit is contained in:
Mateusz Mandera
2020-03-09 11:39:20 +01:00
committed by Tim Abbott
parent 700123a30b
commit 0255ca9b6a
10 changed files with 30 additions and 26 deletions

View File

@@ -280,7 +280,7 @@ class HostRequestMock:
self.method = ''
self.body = ''
self.content_type = ''
self._email = ''
self._requestor_for_logs = ''
def get_host(self) -> str:
return self.host