Fix - themespec after changes to remote fas config

Signed-off-by: Rob White <rob@blue-wave.net>
This commit is contained in:
Rob White
2025-08-31 17:31:20 +01:00
parent 07747f078d
commit 5d72262b9c

View File

@@ -304,8 +304,9 @@ body() {
elif [ "$status" = "err511" ]; then
get_option_from_config "fasremoteip"
get_option_from_config "fasremotefqdn"
get_option_from_config "login_option_enabled"
if [ -z "$fasremoteip" ] && [ -z "$fasremotefqdn" ]; then
if [ -z "$fasremoteip" ] && [ -z "$fasremotefqdn" ] && [ "$login_option_enabled" -eq 0 ]; then
pagebody="
<h1>ERROR: Remote Portal Not Defined or Not Available.</h1>
<form action=\"$url/login\" method=\"get\" target=\"_self\">