Browse Source

Merge pull request #668 from LasLabs/hotfix/9.0/password_security-ignore_admin_demo

[9.0][FIX] password_security: Validate admin pass
pull/414/merge
Dave Lasley 8 years ago
committed by GitHub
parent
commit
c730d13359
  1. 5
      password_security/__openerp__.py
  2. 16
      password_security/demo/res_users.xml

5
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,
}

16
password_security/demo/res_users.xml

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2016 LasLabs Inc.
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
-->
<odoo>
<record id="base.user_root" model="res.users">
<field name="password_write_date"
eval="datetime.now()"
/>
</record>
</odoo>
Loading…
Cancel
Save