summaryrefslogtreecommitdiffstats
path: root/ipalib/parameters.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/parameters.py')
-rw-r--r--ipalib/parameters.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ipalib/parameters.py b/ipalib/parameters.py
index cf658a41..fd693e71 100644
--- a/ipalib/parameters.py
+++ b/ipalib/parameters.py
@@ -892,6 +892,12 @@ class Str(Data):
)
+class Password(Str):
+ """
+ A parameter for passwords (stored in the ``unicode`` type).
+ """
+
+
def create_param(spec):
"""
Create an `Str` instance from the shorthand ``spec``.