X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/63413a7d9e47dbd3d91de82e02f8c6d4ee4d4c21..d537315bdd0072e25558ba006bfbfba13a84b8d2:/password_reset.php diff --git a/password_reset.php b/password_reset.php index 1ee4711e..4d4e2486 100644 --- a/password_reset.php +++ b/password_reset.php @@ -36,13 +36,13 @@ if ($auth->isPasswordExternal()) { exit(); } +$cl_login = $request->getParameter('login'); + $form = new Form('resetPasswordForm'); -$form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'login','style'=>'width: 300px;')); +$form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'login','style'=>'width: 300px;','value'=>$cl_login)); $form->addInput(array('type'=>'submit','name'=>'btn_submit','value'=>$i18n->get('button.reset_password'))); if ($request->isPost()) { - $cl_login = $request->getParameter('login'); - // Validate user input. if (!ttValidString($cl_login)) $err->add($i18n->get('error.field'), $i18n->get('label.login'));