summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 20adaf3)
raw | patch | inline | side by side (parent: 20adaf3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 10 Jul 2007 12:47:02 +0000 (12:47 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 10 Jul 2007 12:47:02 +0000 (12:47 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6807 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/password/class_password.inc | patch | blob | history |
diff --git a/plugins/personal/password/class_password.inc b/plugins/personal/password/class_password.inc
index 322fb619dd25d5a987d99e64fa56b8659d93fa57..10e1cc54bb4f0f368f399558c9c1d4ef9704b64b 100644 (file)
}
/* Check given values */
- if(empty($_POST['current_password'])){
+ if(!isset($_POST['current_password']) || empty($_POST['current_password'])){
print_red(_("You need to specify your current password in order to proceed."));
}elseif ($_POST['new_password'] != $_POST['repeated_password']){
print_red(_("The passwords you've entered as 'New password' and 'Repeated new password' do not match."));
}elseif($check_length && (strlen($_POST['new_password']) < $length)){
print_red(_("The password used as new is to short."));
}elseif($check_hook && $check_hook_output != ""){
- print_red(_("External password changer reported a problem: ".$output));
+ print_red(_("External password changer reported a problem: ".$check_hook_output));
}else{
/* Try to connect via current password */
}
}
}
-
return($smarty->fetch(get_template_path("password.tpl", TRUE)));
}
}