From: hickert Date: Mon, 13 Sep 2010 06:18:13 +0000 (+0000) Subject: Updated password change for csvimport X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a3ae8054821e43f026236d7be27066561caa9526;p=gosa.git Updated password change for csvimport git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19608 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/ldapmanager/addons/ldapmanager/class_csvimport.inc b/gosa-plugins/ldapmanager/addons/ldapmanager/class_csvimport.inc index 52d9e6a8f..6006edf7d 100644 --- a/gosa-plugins/ldapmanager/addons/ldapmanager/class_csvimport.inc +++ b/gosa-plugins/ldapmanager/addons/ldapmanager/class_csvimport.inc @@ -220,7 +220,9 @@ class csvimport extends plugin } else { $this->csvinfo['sorteddata'][$i]['status']=_("OK"); $this->usertab->save(); - change_password($this->usertab->dn,$password); + if(!change_password($this->usertab->dn,$password,FALSE,'','', $message)){ + msg_dialog::displayChecks(array($message)); + } } } }