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 authored and James Valleroy committed 2017-09-01 05:52:07 -04:00
1 parent 4bbbfd956c
commit a9c7e28c3e
1 file changed
+3 -1
@@ -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>