repro: Safety check to make sure pubtkt module is enabled

If pubtkt module is not enabled (rare) and if repro is enabled, Apache fails to
start. Make sure this effects only repro module. The single-sign-on
configuration already ensures that access is denied if pubtkt module is not
enabled, preventing unauthorized access.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2017-08-31 14:26:55 +05:30 committed by James Valleroy
parent 4bbbfd956c
commit a9c7e28c3e
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -5,5 +5,7 @@
<Location /repro>
ProxyPass http://localhost:5080
Include includes/freedombox-single-sign-on.conf
TKTAuthToken "admin"
<IfModule mod_auth_pubtkt.c>
TKTAuthToken "admin"
</IfModule>
</Location>