Tomek Wójcik
c75ea4ea9d
* `bthlabs-jsonrpc-aiohttp` v1.0.0 * `bthlabs-jsonrpc-core` v1.0.0 * `bthlabs-jsonrpc-django` v1.0.0
7 lines
179 B
Python
7 lines
179 B
Python
# -*- coding: utf-8 -*-
|
|
from django.contrib.auth.middleware import RemoteUserMiddleware
|
|
|
|
|
|
class CustomHeaderRemoteUserMiddleware(RemoteUserMiddleware):
|
|
header = 'HTTP_X_USER'
|