summaryrefslogtreecommitdiffstats
path: root/ipaclient/remote_plugins/schema.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipaclient/remote_plugins/schema.py')
-rw-r--r--ipaclient/remote_plugins/schema.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaclient/remote_plugins/schema.py b/ipaclient/remote_plugins/schema.py
index 7d5c8d064..da917a984 100644
--- a/ipaclient/remote_plugins/schema.py
+++ b/ipaclient/remote_plugins/schema.py
@@ -219,8 +219,8 @@ class _SchemaPlugin(object):
cls = Password
sensitive = False
elif (type_name == 'bool' and
- 'default' in schema and
- schema['default'][0] == u'False'):
+ 'default' in schema and schema['default'][0] == u'False' and
+ not schema.get('alwaysask', False)):
cls = Flag
del schema['default']
else: