🚑 fix(6035) Set userPassword to %askme% by default in templates

This makes more sense since it means asking for password at creation,
 and not changing password when applying.

issue #6035
parent 78d7af33
......@@ -256,6 +256,10 @@ class user extends simplePlugin
parent::__construct($dn, $object, $parent, $mainTab);
if ($this->is_template && !$this->initially_was_account) {
$this->attributesAccess['uid']->setDisabled($this->initially_was_account && !$this->is_template);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment