Update sites.inc
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user