Commit 16579ee4 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!395
Showing with 1 addition and 1 deletion
+1 -1
......@@ -198,6 +198,7 @@ class UserPasswordAttribute extends CompositeAttribute
} elseif ($this->plugin->initially_was_account) {
$pw_storage = 'empty';
}
$locked = ($locked ? 'TRUE' : 'FALSE');
return array($pw_storage, $password, $password, $value, $locked);
}
......@@ -225,7 +226,6 @@ class UserPasswordAttribute extends CompositeAttribute
function check()
{
$method = $this->attributes[0]->getValue();
$error = parent::check();
if (!empty($error)) {
return $error;
......
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