diff options
| author | xmo-odoo <xmo@odoo.com> | 2018-05-24 14:43:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-24 14:43:31 +0200 |
| commit | a06066b920f5d59105dc285cf3f0f0f77da8cd80 (patch) | |
| tree | fc0d138efa1f87d68aff7ab020970fbeb3c30635 /odoo/addons/base/data/base_data.sql | |
| parent | cb8682607eda51def806a77b7821b38b4f263210 (diff) | |
[IMP] merge auth_crypt into base
* store hashed passwords in the `password` column but gate it behind a
computed field
* make the password field essentially write-only (SQL aside)
* add a "plaintext" hash type so it's possible to set the password in
SQL directly & be able to login & have it automatically updated
Task 34211
Diffstat (limited to 'odoo/addons/base/data/base_data.sql')
| -rw-r--r-- | odoo/addons/base/data/base_data.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/addons/base/data/base_data.sql b/odoo/addons/base/data/base_data.sql index 30d6cc6cd89..67d2fb9ada5 100644 --- a/odoo/addons/base/data/base_data.sql +++ b/odoo/addons/base/data/base_data.sql @@ -16,7 +16,7 @@ CREATE TABLE res_users ( id serial NOT NULL, active boolean default True, login varchar(64) NOT NULL UNIQUE, - password varchar(64) default null, + password varchar default null, -- No FK references below, will be added later by ORM -- (when the destination rows exist) company_id integer, -- references res_company, |
