diff options
Diffstat (limited to 'ipalib/plugins/passwd.py')
-rw-r--r-- | ipalib/plugins/passwd.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ipalib/plugins/passwd.py b/ipalib/plugins/passwd.py index 6c509c2c7..50e99c248 100644 --- a/ipalib/plugins/passwd.py +++ b/ipalib/plugins/passwd.py @@ -23,16 +23,18 @@ Password changes from ipalib import api, errors, util from ipalib import Command from ipalib import Str, Password +from ipalib import _ class passwd(Command): """ Change user password. """ + takes_args = ( Str('principal', cli_name='user', - doc='username', + label=_('User name'), primary_key=True, autofill=True, create_default=lambda **kw: util.get_current_principal(), |