From f4e58ea35336443535cd342c225730c4f22ae79d Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 11 Nov 2023 23:17:23 -0600 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/sites.inc b/inc/sites.inc index 0c13f437..007e0ec3 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -625,9 +625,9 @@ SITEINFO(){ [ "$(grep '\#include conf.d/include/hsts-support.conf' ${sitefile})" != "" ] && hsts='' || hsts='Yes' [ "$(grep '\#include conf.d/include/websocket-support.conf' ${sitefile})" != "" ] && wbskt='' || wbskt='Yes' [ "$(grep '\#include conf.d/include/block-exploits.conf' ${sitefile})" != "" ] && explt='' || explt='Yes' - [ "$(grep '\#include conf.d/include/secure-access.conf' ${sitefile})" != "" ] && lock='' || lock='Yes' + # [ "$(grep '\#include conf.d/include/secure-access.conf' ${sitefile})" != "" ] && lock='' || lock='Yes' - if [ "$(grep '\#include conf.d/include/secure-access.conf' ${sitefile})" == "" ]; then + if [ "$(grep '\#include conf.d/include/secure-access.conf' ${sitefile})" == "" ] && [ "$(grep '\include conf.d/include/secure-access.conf' ${sitefile})" == "" ]; then if [ "${onefacline}" == "" ]; then onefacline=$(ssh root@${NM_AUTHELIA_IP} grep -Fn one_factor /mnt/web-data/authelia/config/configuration.yml | sort | tail -n1) onefacline=${onefacline%%:*}