From c67221750e9195e64cf8dbf437ffaf5f74f3d6fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 28 Jul 2009 14:51:44 +0200 Subject: [PATCH] Set False as default value for password --- trytond/res/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/res/user.py b/trytond/res/user.py index f73817b9f3..064076d64d 100644 --- a/trytond/res/user.py +++ b/trytond/res/user.py @@ -71,7 +71,7 @@ class User(ModelSQL, ModelView): }) def default_password(self, cursor, user, context=None): - return '' + return False def default_active(self, cursor, user, context=None): return 1