1
0
Fork 0
mirror of synced 2024-11-22 17:05:34 -05:00
This commit is contained in:
Filip Pytloun 2016-03-31 21:35:27 +02:00
parent 89f4c5b65b
commit fb133be098

View file

@ -177,7 +177,7 @@ provider_config = addr={{ server.session.get('host', '127.0.0.1') }}:{{ server.s
[auth.proxy] [auth.proxy]
{%- if server.get('auth', {}).get('engine', None) == 'proxy' %} {%- if server.get('auth', {}).get('engine', None) == 'proxy' %}
enabled = true enabled = true
header_name = {{ server.auth.get('header', 'X-REMOTE-USER') %} header_name = {{ server.auth.get('header', 'X-REMOTE-USER') }}
header_property = {{ server.auth.get('header_property', 'username') }} header_property = {{ server.auth.get('header_property', 'username') }}
auto_sign_up = true auto_sign_up = true
{%- endif %} {%- endif %}