Commit 5e460abe authored by Elouan Martinet's avatar Elouan Martinet
Browse files

[docker] Remove WITH_TRUSTEDAUTH variable

parent 858516a067a8
Pipeline #32178 failed with stage
in 3 minutes and 8 seconds
......@@ -6,5 +6,4 @@ RUN pip install -r /src/docker/requirements.txt
RUN cp /src/docker/pyramid.ini.j2 /pyramid.ini.j2
USER cubicweb
ENV CW_INSTANCE=intranet
ENV WITH_TRUSTEDAUTH=false
RUN docker-cubicweb-helper create-instance
......@@ -2,9 +2,7 @@
[main]
cubicweb.includes =
cubicweb.pyramid.auth
{%- if not WITH_TRUSTEDAUTH.lower() in ('y', 'yes', 't', 'true') %}
cubicweb.pyramid.login
{% endif %}
cubicweb.session.secret = {{ PYRAMID_SESSION_SECRET }}
cubicweb.auth.authtkt.session.secret = {{ PYRAMID_AUTHTKT_SESSION_SECRET }}
cubicweb.auth.authtkt.session.secure = {{ secure }}
......
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