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%%:*}