X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=admin_team_edit.php;h=61828e166db539f10b0cf96cda424d2d2e7596e5;hb=2ccee198591bc2ad5d80b5e1076246449d9232c1;hp=09ef866daa060552e2bbc214ea594cc483535c5e;hpb=eb55e2f8ca3859482a389795e03b45283e14ef36;p=timetracker.git diff --git a/admin_team_edit.php b/admin_team_edit.php index 09ef866d..61828e16 100644 --- a/admin_team_edit.php +++ b/admin_team_edit.php @@ -32,7 +32,7 @@ import('ttUserHelper'); import('ttTeamHelper'); // Access check. -if (!ttAccessCheck(right_administer_site)) { +if (!ttAccessAllowed('administer_site')) { header('Location: access_denied.php'); exit(); } @@ -64,8 +64,8 @@ $form->addInput(array('type'=>'text','maxlength'=>'80','name'=>'team_name','valu $form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'manager_name','value'=>$cl_manager_name)); $form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'manager_login','value'=>$cl_manager_login)); if (!$auth->isPasswordExternal()) { - $form->addInput(array('type'=>'text','maxlength'=>'30','name'=>'password1','aspassword'=>true,'value'=>$cl_password1)); - $form->addInput(array('type'=>'text','maxlength'=>'30','name'=>'password2','aspassword'=>true,'value'=>$cl_password2)); + $form->addInput(array('type'=>'password','maxlength'=>'30','name'=>'password1','value'=>$cl_password1)); + $form->addInput(array('type'=>'password','maxlength'=>'30','name'=>'password2','value'=>$cl_password2)); } $form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'manager_email','value'=>$cl_manager_email)); $form->addInput(array('type'=>'hidden','name'=>'id','value'=>$team_id));