Add 'other' as valid kwargs for 'user.add' method

This commit is contained in:
Pablo Suárez Hernández 2018-05-16 16:10:44 +01:00
parent ff861d9089
commit 0232a6e1ad
No known key found for this signature in database
GPG key ID: A9683F02B512C911

View file

@ -126,6 +126,7 @@ def add(name,
roomnumber='',
workphone='',
homephone='',
other='',
createhome=True,
loginclass=None,
root=None,
@ -239,6 +240,8 @@ def add(name,
chworkphone(name, workphone)
if homephone:
chhomephone(name, homephone)
if other:
chother(name, other)
return True