--- a/cubicweb/__init__.py Tue Nov 15 11:44:05 2016 +0100
+++ b/cubicweb/__init__.py Wed Nov 16 17:12:09 2016 +0100
@@ -157,6 +157,8 @@
def check_password(eschema, value):
return isinstance(value, (binary_type, Binary))
+
+
BASE_CHECKERS['Password'] = check_password
@@ -164,6 +166,8 @@
if isinstance(value, Binary):
return value
return binary_type(value)
+
+
BASE_CONVERTERS['Password'] = str_or_binary
@@ -224,6 +228,7 @@
else:
callback(context, *args, **kwargs)
+
CW_EVENT_MANAGER = CubicWebEventManager()