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'