mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 18:01:23 -06:00
308: Fixed broken example plugin user_add
This commit is contained in:
parent
f73d976bda
commit
47e4606a98
@ -39,15 +39,6 @@ api.register(discover)
|
|||||||
# Register some methods for the 'user' object:
|
# Register some methods for the 'user' object:
|
||||||
class user_add(public.Method):
|
class user_add(public.Method):
|
||||||
'Add a new user.'
|
'Add a new user.'
|
||||||
|
|
||||||
takes_args = ['login']
|
|
||||||
|
|
||||||
takes_options = [
|
|
||||||
'givenname',
|
|
||||||
'sn',
|
|
||||||
'initials',
|
|
||||||
]
|
|
||||||
|
|
||||||
api.register(user_add)
|
api.register(user_add)
|
||||||
|
|
||||||
class user_del(public.Method):
|
class user_del(public.Method):
|
||||||
|
Loading…
Reference in New Issue
Block a user