Code

Prepared statistics to handle over-time data
[gosa.git] / gosa-core / html / password.php
index 99a5d49cb8b96d866fc2c1d594aa92ecce6ff82d..954231dfe3890fb26f4f2ac3bfc8018ab12c8700 100644 (file)
@@ -205,7 +205,7 @@ if (isset($_GET['uid']) && $_GET['uid'] != "") {
     $uid= validate($_GET['uid']);
     $smarty->assign('display_username', false);
 } elseif (isset($_POST['uid'])) {
-    $uid= validate($_POST['uid']);
+    $uid= get_post('uid');
     $smarty->assign('display_username', true);
 } else {
     $uid= "";
@@ -250,7 +250,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['apply'])) {
         }
     }
     if(!passwordMethod::is_harmless($_POST['new_password'])){
-        $message[]= _("The password contains possibly problematic unicode characters!");
+        $message[]= _("The password contains possibly problematic Unicode characters!");
     }
 
     /* Validate */