-
- Downloads
[FIX] website: allow authenticate in json multidb
Before this commit launch a server with --db-filter that match at least 2 dbs name Try to authenticate You will have an error request is unbound when you try to access request.env Now we retrieve the user from self instead of the request. New test to ensure rpc authentication is tested. Related to commit 245ef4b1 closes odoo/odoo#38969 X-original-commit: 4b3400c4 Signed-off-by:Jérémy Kersten (jke) <jke@openerp.com>
Showing
- addons/test_website/controllers/main.py 8 additions, 0 deletionsaddons/test_website/controllers/main.py
- addons/test_website/static/tests/tours/json_auth.js 26 additions, 0 deletionsaddons/test_website/static/tests/tours/json_auth.js
- addons/test_website/tests/__init__.py 1 addition, 0 deletionsaddons/test_website/tests/__init__.py
- addons/test_website/tests/test_session.py 9 additions, 0 deletionsaddons/test_website/tests/test_session.py
- addons/test_website/views/templates.xml 1 addition, 0 deletionsaddons/test_website/views/templates.xml
- addons/website/models/website_visitor.py 11 additions, 14 deletionsaddons/website/models/website_visitor.py
- addons/website_livechat/models/website_visitor.py 2 additions, 2 deletionsaddons/website_livechat/models/website_visitor.py
- addons/website_sale/controllers/main.py 5 additions, 4 deletionsaddons/website_sale/controllers/main.py
Loading
Please register or sign in to comment