зеркало из https://github.com/mozilla/MozDef.git
Use user's name as.. username, instead of a username object to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1352562
This commit is contained in:
Родитель
122c7bd1f8
Коммит
f7dd17f90b
|
@ -270,7 +270,7 @@ def process_msg(mozmsg, msg):
|
|||
details['auth0_client_id'] = msg.client_id
|
||||
|
||||
try:
|
||||
details['username'] = msg.details.request.auth.user
|
||||
details['username'] = msg.details.request.auth.user.name
|
||||
details['action'] = msg.details.response.body.name
|
||||
except KeyError:
|
||||
try:
|
||||
|
|
Загрузка…
Ссылка в новой задаче