From f63e78a800aa2e81f9d9b06d9af56f93bf5bb722 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Fri, 20 Mar 2020 22:32:46 +0100 Subject: [PATCH] Reflect passlib depreciation in Odoo install.sh --- lxc-apps/odoo/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc-apps/odoo/install.sh b/lxc-apps/odoo/install.sh index 4787f0d..24cea75 100755 --- a/lxc-apps/odoo/install.sh +++ b/lxc-apps/odoo/install.sh @@ -35,7 +35,7 @@ done kill ${ODOO_PID} # Update admin account -export ODOO_ADMIN_HASH=$(spoc-container exec odoo -- python -c "from passlib.hash import pbkdf2_sha512;print(pbkdf2_sha512.encrypt('${ODOO_ADMIN_PWD}'))") +export ODOO_ADMIN_HASH=$(spoc-container exec odoo -- python -c "from passlib.hash import pbkdf2_sha512;print(pbkdf2_sha512.hash('${ODOO_ADMIN_PWD}'))") envsubst