X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=password_reset.php;h=4d4e2486770576d3a03512905ac92f9132c46415;hb=87a40bf7dc910c008aa6aadf8882b070ad120c39;hp=1ee4711ed60bec70588386ecbf5316601f79c036;hpb=fd0872d9e582113346fa1e93557f370286c5c9f2;p=timetracker.git 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'));