Commit 05a4e239 authored by Côme Chilliet's avatar Côme Chilliet

Merge branch '6035-template-workflow-allow-an-empty-ssha-password' into '1.4-dev'

Resolve "Template workflow allow an empty SSHA password"

See merge request fusiondirectory/fd!697
parents 78d7af33 68362ba1
......@@ -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
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