Commit 3dc372c5 authored by Andrew Roberts's avatar Andrew Roberts

fixed typo

parent efcee0a7
......@@ -135,7 +135,7 @@ def load_user_from_request(request):
if config.config_allow_reverse_proxy_header_login:
rp_header_name = config.config_reverse_proxy_login_header_name
if rp_header_name:
rp_header = request.headers.get(rp_header_name)
rp_header_username = request.headers.get(rp_header_name)
if rp_header_username:
user = _fetch_user_by_name(rp_header_username)
if user:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment