Files
freeipa/ipaserver/plugins
Jan Cholasta e9c1d21b9f parameters: move the confirm kwarg to Param
Whether a parameter is treated like password is determined by the
`password` class attribute defined in the Param class. Whether the CLI will
asks for confirmation of a password parameter depends on the value of the
`confirm` kwarg of the Password class.

Move the `confirm` kwarg from the Password class to the Param class, so
that it can be used by any Param subclass which has the `password` class
attribute set to True.

This fixes confirmation of the --key option of otptoken-add, which is a
Bytes subclass with `password` set to True.

https://fedorahosted.org/freeipa/ticket/6174

Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: David Kupka <dkupka@redhat.com>
2016-08-10 08:51:39 +02:00
..
2010-12-20 17:19:53 -05:00
2016-07-01 10:05:16 +02:00
2016-06-15 13:51:48 +02:00
2016-07-01 09:39:49 +02:00
2016-07-01 11:22:02 +02:00
2016-06-16 08:47:20 +02:00