Commit 7b750194 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5593 Trigger hooks even if SASL password does not modify LDAP

parent 4c8703d7
......@@ -549,6 +549,15 @@ class user extends simplePlugin
return parent::execute();
protected function shouldSave()
if ($this->attributesAccess['userPassword']->getClear() != '') {
/* There may be hooks using this even if LDAP object is not modified */
return TRUE;
return parent::shouldSave();
protected function prepare_save ()
global $config;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment