Don't allow a user's uid to be set to 0.
ticket 578
This commit is contained in:
1 parent
3ded0826cf
commit
ecf2b252c0
1 file changed
+1
@@ -158,6 +158,7 @@ class user(LDAPObject):
|
||||
doc=_('User ID Number (system will assign one if not provided)'),
|
||||
autofill=True,
|
||||
default=999,
|
||||
minvalue=1,
|
||||
),
|
||||
Int('gidnumber?',
|
||||
label=_('GID'),
|
||||
|
||||
Reference in new issue
Block a user