X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=login.php;h=d398794c4349c89d3368d7f2f14e6b8d7f2c5ac0;hb=7916f561fed6b50348f144fc411ca82ee9bd5ebb;hp=b0c583fa2056ba9801a50259a55fe24a59d11a60;hpb=60d2288b7fca6caf0f5d9d3eee972f040eb24fb0;p=timetracker.git diff --git a/login.php b/login.php index b0c583fa..d398794c 100644 --- a/login.php +++ b/login.php @@ -32,9 +32,8 @@ import('ttTeamHelper'); import('ttUser'); $cl_login = $request->getParameter('login'); +if ($cl_login == null && $request->isGet()) $cl_login = @$_COOKIE['tt_login']; $cl_password = $request->getParameter('password'); -if ($cl_login == null && $request->getMethod() == 'GET') - $cl_login = @$_COOKIE['tt_login']; $form = new Form('loginForm'); $form->addInput(array('type'=>'text','size'=>'25','maxlength'=>'100','name'=>'login','style'=>'width: 220px;','value'=>$cl_login));