Enric Tobella
7 years ago
No known key found for this signature in database
GPG Key ID: 1A2546A1B7BA2451
1 changed files with
1 additions and
0 deletions
-
base_remote/models/res_users.py
|
@ -15,6 +15,7 @@ class ResUsers(models.Model): |
|
|
@api.model_cr |
|
|
@api.model_cr |
|
|
def _register_hook(self): |
|
|
def _register_hook(self): |
|
|
"""🐒-patch XML-RPC controller to know remote address.""" |
|
|
"""🐒-patch XML-RPC controller to know remote address.""" |
|
|
|
|
|
super()._register_hook() |
|
|
original_fn = wsgi_server.application_unproxied |
|
|
original_fn = wsgi_server.application_unproxied |
|
|
|
|
|
|
|
|
def _patch(environ, start_response): |
|
|
def _patch(environ, start_response): |
|
|