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

Merge branch '3710-support-users-with-no-password' into '1.4-dev'

Resolve "Support users with no password"

See merge request fusiondirectory/fd!399
Showing with 1 addition and 1 deletion
+1 -1
......@@ -393,7 +393,7 @@ class user extends simplePlugin
function callHook($cmd, array $addAttrs = array(), &$returnOutput = array(), &$returnCode = NULL)
{
$addAttrs['passwordMethod'] = $this->attributesAccess['userPassword']->getMethod();
$addAttrs['userLocked'] = $this->attributesAccess['userPassword']->isLocked();
$addAttrs['userLocked'] = (int)($this->attributesAccess['userPassword']->isLocked());
$addAttrs['passwordClear'] = $this->attributesAccess['userPassword']->getClear();
return parent::callHook($cmd, $addAttrs, $returnOutput, $returnCode);
}
......
Supports Markdown
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