summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7def203)
raw | patch | inline | side by side (parent: 7def203)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Apr 2010 19:05:13 +0000 (19:05 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Apr 2010 19:05:13 +0000 (19:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17859 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/password.php | patch | blob | history | |
gosa-core/plugins/personal/password/class_password.inc | patch | blob | history |
index fae474500c3e70a29ccd64a61f9cb8f38b89ff5c..9bbeab615f8c799b5f37f922d3ce1bff8e2d7a1b 100644 (file)
$message[]= _("The password used as new is to short!");
}
}
+ if(!passwordMethod::is_harmless($_POST['new_password'])){
+ $message[]= _("The password contains possibly problematic unicode characters!");
+ }
/* Validate */
if (!tests::is_uid($uid)) {
diff --git a/gosa-core/plugins/personal/password/class_password.inc b/gosa-core/plugins/personal/password/class_password.inc
index 3d25d02b0035678019f26dac229c93107953d6cb..98ecc9887e1444ca76395e7c194e9837582d3694 100644 (file)
_("The password used as new is to short."),WARNING_DIALOG);
}elseif(!passwordMethod::is_harmless($_POST['new_password'])){
msg_dialog::display(_("Password change"),
- _("The password contains possibly problematic unicode characters."),WARNING_DIALOG);
+ _("The password contains possibly problematic unicode characters!"),WARNING_DIALOG);
}elseif($check_hook && $check_hook_output != ""){
msg_dialog::display(_("Password change"),
sprintf(_("External password changer reported a problem: %s."),$check_hook_output),WARNING_DIALOG);