diff --git a/tailbone/views/common.py b/tailbone/views/common.py index f48bdbe4..22401a04 100644 --- a/tailbone/views/common.py +++ b/tailbone/views/common.py @@ -134,6 +134,7 @@ class CommonView(View): data = dict(form.validated) if data['user']: data['user_url'] = self.request.route_url('users.view', uuid=data['user'].uuid) + data['client_ip'] = self.request.client_addr send_email(self.rattail_config, 'user_feedback', data=data) return {'ok': True} return {'error': "Form did not validate!"}