diff --git a/plugins/personal/generic/class_UserPasswordAttribute.inc b/plugins/personal/generic/class_UserPasswordAttribute.inc index 220db59333cb28f39854fd9a6481871bb869312c..129dd0d8f23b2fcd34816e789b06240c493effbb 100644 --- a/plugins/personal/generic/class_UserPasswordAttribute.inc +++ b/plugins/personal/generic/class_UserPasswordAttribute.inc @@ -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;