From 3315c3df0f8de5af8aacf7142d0e22639db01dae Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 13 Nov 2023 22:13:56 -0600 Subject: [PATCH] Update sites.inc --- inc/sites.inc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/inc/sites.inc b/inc/sites.inc index a880fe5e..a5dfaf85 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -804,13 +804,14 @@ SITEINFO(){ if [ "$(echo "${siteconfig}" | grep '\#include conf.d/include/secure-access.conf')" == "" ]; then sitefacline=$(echo "${autheliaconfig}" | grep -Fn ${site} | sort | tail -n1) sitefacline=${onefacline%%:*} - if [ "${sitefacline}" == "" ]; then - lock='error' - elif [ ${sitefacline} -lt ${onefacline} ]; then - lock='1FA' - elif [ ${sitefacline} -lt ${twofacline} ]; then - lock='2FA' - fi + lock="${onefacline}-${twofacline}=${sitefacline}" + # if [ "${sitefacline}" == "" ]; then + # lock='error' + # elif [ ${sitefacline} -lt ${onefacline} ]; then + # lock='1FA' + # elif [ ${sitefacline} -lt ${twofacline} ]; then + # lock='2FA' + # fi else lock='-' fi