From a3ae8054821e43f026236d7be27066561caa9526 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 13 Sep 2010 06:18:13 +0000 Subject: [PATCH] Updated password change for csvimport git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19608 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../ldapmanager/addons/ldapmanager/class_csvimport.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)); + } } } } -- 2.30.2