Skip to content
Snippets Groups Projects
Commit 4b3400c4 authored by Jeremy Kersten's avatar Jeremy Kersten Committed by fja-odoo
Browse files

[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#38047

Signed-off-by: default avatarJérémy Kersten (jke) <jke@openerp.com>
parent a45a4b6c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment