mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Events: start storing oauth client name and app_type.
This commit is contained in:
@@ -779,6 +779,8 @@ class Event(object):
|
||||
oauth2_client = getattr(context, "oauth2_client", None)
|
||||
if oauth2_client:
|
||||
data["oauth2_client_id"] = oauth2_client._id
|
||||
data["oauth2_client_name"] = oauth2_client.name
|
||||
data["oauth2_client_app_type"] = oauth2_client.app_type
|
||||
|
||||
data["geoip_country"] = get_request_location(request, context)
|
||||
data["domain"] = request.host
|
||||
|
||||
Reference in New Issue
Block a user