From ce8be5f8d3ab795ca7f35cc324c23e1b42fec5c1 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Wed, 6 Mar 2002 02:47:47 +0000 Subject: [PATCH] remove some crap i was working on --- phpgwapi/inc/class.setup.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpgwapi/inc/class.setup.inc.php b/phpgwapi/inc/class.setup.inc.php index 8c35f84999..3eecc3d961 100644 --- a/phpgwapi/inc/class.setup.inc.php +++ b/phpgwapi/inc/class.setup.inc.php @@ -67,7 +67,7 @@ @abstract authenticate the setup user @param $auth_type ??? */ - function auth($auth_type='Config',$ConfigPW='',$HeaderPW='') + function auth($auth_type='Config') { $FormLogout = get_var('FormLogout', array('GET','POST')); $ConfigLogin = get_var('ConfigLogin', array('POST')); @@ -76,8 +76,8 @@ $FormPW = get_var('FormPW', array('POST')); $ConfigDomain = get_var('ConfigDomain',array('POST','COOKIE')); - $ConfigPW = $ConfigPW ? $ConfigPW : get_var('ConfigPW', array('POST','COOKIE')); - $HeaderPW = $HeaderPW ? $HeaderPW : get_var('HeaderPW', array('POST','COOKIE')); + $ConfigPW = get_var('ConfigPW', array('POST','COOKIE')); + $HeaderPW = get_var('HeaderPW', array('POST','COOKIE')); $ConfigLang = get_var('ConfigLang', array('POST','COOKIE')); /* 6 cases: