mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-30 21:49:50 -05:00
Re-adding import statement
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from django.contrib.auth.middleware import RemoteUserMiddleware
|
||||
from os import getenv
|
||||
|
||||
class CustomRemoteUser(RemoteUserMiddleware):
|
||||
header = getenv('PROXY_HEADER', 'HTTP_REMOTE_USER')
|
||||
header = getenv('PROXY_HEADER', 'HTTP_REMOTE_USER')
|
||||
|
||||
Reference in New Issue
Block a user