X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/251996aed11c648ecaa30f77383e0384bfadf7a5..bdc4cdb7f5efbd4b273be6def7652e9011b977a6:/admin_team_add.php diff --git a/admin_team_add.php b/admin_team_add.php index b41571c7..15d7a325 100644 --- a/admin_team_add.php +++ b/admin_team_add.php @@ -64,8 +64,8 @@ if ($request->getMethod() == 'POST') { if (!ttValidString($cl_manager_name)) $errors->add($i18n->getKey('error.field'), $i18n->getKey('label.manager_name')); if (!ttValidString($cl_manager_login)) $errors->add($i18n->getKey('error.field'), $i18n->getKey('label.manager_login')); if (!$auth->isPasswordExternal()) { - if (!ttValidString($cl_password1)) $errors->add($i18n->getKey('error.field'), $i18n->getKey('label.password')); - if (!ttValidString($cl_password2)) $errors->add($i18n->getKey('error.field'), $i18n->getKey('label.confirm_password')); + if (!ttValidString($cl_password1)) $errors->add($i18n->getKey('error.field'), $i18n->getKey('label.password')); + if (!ttValidString($cl_password2)) $errors->add($i18n->getKey('error.field'), $i18n->getKey('label.confirm_password')); if ($cl_password1 !== $cl_password2) $errors->add($i18n->getKey('error.not_equal'), $i18n->getKey('label.password'), $i18n->getKey('label.confirm_password')); } @@ -101,4 +101,3 @@ $smarty->assign('onload', 'onLoad="document.teamForm.team.focus()"'); $smarty->assign('content_page_name', 'admin_team_add.tpl'); $smarty->assign('title', $i18n->getKey('title.create_team')); $smarty->display('index.tpl'); -?> \ No newline at end of file