X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/b4b57ea6a41c263250715f72248d48eae22f5476..a7ba11adfecf6cb906749efe5abce688363aef07:/password_reset.php diff --git a/password_reset.php b/password_reset.php index 52e268ca..d67372c5 100644 --- a/password_reset.php +++ b/password_reset.php @@ -40,7 +40,7 @@ $form = new Form('resetPasswordForm'); $form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'login','style'=>'width: 300px;')); $form->addInput(array('type'=>'submit','name'=>'btn_submit','value'=>$i18n->getKey('button.reset_password'))); -if ($request->getMethod() == 'POST') { +if ($request->isPost()) { $cl_login = $request->getParameter('login'); // Validate user input.