Code

Fixed typo
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 25 Oct 2007 05:41:27 +0000 (05:41 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 25 Oct 2007 05:41:27 +0000 (05:41 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7647 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/generic/main.inc

index a80ddab57dbdbe6410f4cae68b67cdc33af006b3..6f2e3562b6fe4279fff3dfa98a692cfa6b5ca3f2 100644 (file)
@@ -66,7 +66,7 @@ if (!$remove_lock){
   if (isset($_POST['password_finish'])){
 
     /* For security reasons, check if user is allowed to set password again */
-    if ($user->acl_is_writable("userPassword") || $user->acl_is_createable()){
+    if ($user->acl_is_writeable("userPassword") || $user->acl_is_createable()){
 
       /* Check input and feed errors into 'message' */
       $message= array();
@@ -93,7 +93,7 @@ if (!$remove_lock){
         return ($display);
       }
       change_password ($user->dn, $_POST['new_password'], 0, $user->pw_storage);
-      new log("modify","users/".get_class($this),"",array(),"Password has been changed");
+      new log("modify","users/password","",array(),"Password has been changed");
 
     } else {