also set WEB_REMOTE_IP
This commit is contained in:
parent
c095e2319b
commit
021130fe63
1 changed files with 2 additions and 1 deletions
|
@ -421,7 +421,8 @@ class EventsHandler(CollectionHandler):
|
||||||
if person_id is None:
|
if person_id is None:
|
||||||
person_id = str(new_person_data.get('person_id'))
|
person_id = str(new_person_data.get('person_id'))
|
||||||
env.update({'PERSON_ID': person_id, 'EVENT_ID': id_,
|
env.update({'PERSON_ID': person_id, 'EVENT_ID': id_,
|
||||||
'EVENT_TITLE': doc.get('title', ''), 'WEB_USER': self.get_current_user()})
|
'EVENT_TITLE': doc.get('title', ''), 'WEB_USER': self.get_current_user(),
|
||||||
|
'WEB_REMOTE_IP': self.request.remote_ip})
|
||||||
stdin_data = {'old': old_person_data,
|
stdin_data = {'old': old_person_data,
|
||||||
'new': new_person_data,
|
'new': new_person_data,
|
||||||
'event': doc,
|
'event': doc,
|
||||||
|
|
Loading…
Reference in a new issue