From 8cccf2e8382df4e500da7f74d005cc51f18b2028 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Sun, 22 Nov 2015 19:00:34 +0000 Subject: [PATCH] (legacy) remove isAjax --- src/etc/inc/authgui.inc | 9 --------- 1 file changed, 9 deletions(-) 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.