Commit 0cdad396 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3250 Using 'whole' unicity for users

parent 74a351b9
......@@ -325,7 +325,7 @@ class user extends simplePlugin
{
parent::__construct($config, $dn, $object);
$this->attributesAccess['uid']->setUnique(TRUE);
$this->attributesAccess['uid']->setUnique('whole');
$this->attributesAccess['uid']->setDisabled($this->initially_was_account && !$this->is_template);
$filename = './plugins/users/images/default.jpg';
......
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