diff --git a/webui/config.php b/webui/config.php index b645a2a1..af866162 100644 --- a/webui/config.php +++ b/webui/config.php @@ -167,7 +167,7 @@ $config['USE_EMAIL_AS_USERNAME'] = 1; $config['LDAP_IMPORT_MINIMUM_NUMBER_OF_USERS_TO_HEALTH_OK'] = 100; -define('PILER_LOGIN_HELPER_PLACEHOLDER', 'PILER_COMMENT_FOR_PROPER_LOGIN_SO_THIS_CAN_BE_ANYTHING_JUST_BE_IT_SOMETHING_LIKE_A_UNIQUE_VALUE'); +$config['PILER_LOGIN_HELPER_PLACEHOLDER'] = 'PILER_COMMENT_FOR_PROPER_LOGIN_SO_THIS_CAN_BE_ANYTHING_JUST_BE_IT_SOMETHING_LIKE_A_UNIQUE_VALUE'; $config['SIZE_X'] = 430; diff --git a/webui/controller/login/login.php b/webui/controller/login/login.php index 25d4e7e7..547a1a4c 100644 --- a/webui/controller/login/login.php +++ b/webui/controller/login/login.php @@ -51,14 +51,7 @@ class ControllerLoginLogin extends Controller { exit; } - if(isset($_POST['relocation']) && $_POST['relocation']) { - header("Location: " . SITE_URL . $_POST['relocation']); - } else { - header("Location: " . SITE_URL . "search.php"); - } - - //header("Location: " . SITE_URL . "search.php"); - + header("Location: " . SITE_URL . "search.php"); exit; } diff --git a/webui/view/theme/default/templates/common/layout-audit.tpl b/webui/view/theme/default/templates/common/layout-audit.tpl index eacf4e0f..469a5b77 100644 --- a/webui/view/theme/default/templates/common/layout-audit.tpl +++ b/webui/view/theme/default/templates/common/layout-audit.tpl @@ -5,9 +5,9 @@