From 3dee9f29d936f98d8bfa1380dd957b34914c8b93 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 11 Nov 2023 23:44:03 -0600 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/sites.inc b/inc/sites.inc index beb01d6c..226bfa27 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -721,7 +721,7 @@ SITEINFO(){ if [ "$(grep '\#include conf.d/include/secure-access.conf' ${sitefile})" == "" ]; then sitefacline=$(ssh root@${NM_AUTHELIA_IP} grep -Fn ${site} /mnt/web-data/authelia/config/configuration.yml | sort | tail -n1) sitefacline=${onefacline%%:*} - if "${sitefacline}" == "" ]; then + if [ "${sitefacline}" == "" ]; then lock='error' elif [ ${sitefacline} -lt ${onefacline} ]; then lock='1FA'