From fffcb7a8d10fdb0975f29f80457970bba9414233 Mon Sep 17 00:00:00 2001 From: Dave Lasley Date: Fri, 23 Dec 2016 10:48:26 -0800 Subject: [PATCH] [FIX] password_security: Validate admin pass * Add current time as password_write_date for admin user in demo, disabling the reset prompt - fixes #652 --- password_security/__openerp__.py | 5 ++++- password_security/demo/res_users.xml | 16 ++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 password_security/demo/res_users.xml diff --git a/password_security/__openerp__.py b/password_security/__openerp__.py index d76bb72bb..ae1adb812 100644 --- a/password_security/__openerp__.py +++ b/password_security/__openerp__.py @@ -5,7 +5,7 @@ 'name': 'Password Security', "summary": "Allow admin to set password security requirements.", - 'version': '9.0.1.0.2', + 'version': '9.0.1.0.3', 'author': "LasLabs, Odoo Community Association (OCA)", 'category': 'Base', 'depends': [ @@ -19,5 +19,8 @@ 'security/ir.model.access.csv', 'security/res_users_pass_history.xml', ], + "demo": [ + 'demo/res_users.xml', + ], 'installable': True, } diff --git a/password_security/demo/res_users.xml b/password_security/demo/res_users.xml new file mode 100644 index 000000000..2c5ac5205 --- /dev/null +++ b/password_security/demo/res_users.xml @@ -0,0 +1,16 @@ + + + + + + + + + + +