Update sites.inc

This commit is contained in:
2023-11-11 23:44:03 -06:00
parent 7c064f56e6
commit 3dee9f29d9

View File

@@ -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'