diff --git a/src/etc/inc/authgui.inc b/src/etc/inc/authgui.inc index 0e79d0fe8..cf5b71e1c 100644 --- a/src/etc/inc/authgui.inc +++ b/src/etc/inc/authgui.inc @@ -290,10 +290,6 @@ function display_error_form($http_code, $desc) { global $config, $g; $g['theme'] = get_current_theme(); - if (isAjax()) { - printf(gettext('Error: %s, Description: %s'), $http_code, $desc); - return; - } ?> @@ -339,11 +335,6 @@ function display_login_form() unset($input_errors); - - if (isAjax()) { - exit; - } - /* Check against locally configured IP addresses, which will catch when someone port forwards WebGUI access from WAN to an internal IP on the router. */ // fix, local ip check was previously done using "filter_generate_optcfg_array" which basically includes alomst everything here.