-
- Downloads
[IMP] core: add env to various auth methods
Allows accessing various keys, especially whether this is an interactive login or not. Also have the xml-rpc `login` delegate to `authenticate` instead of having its own half-assed implementation. And remove some dead code: as far as I can tell, Session.authenticate is never called with a uid.
Showing
- addons/auth_ldap/models/res_users.py 4 additions, 4 deletionsaddons/auth_ldap/models/res_users.py
- addons/auth_oauth/models/res_users.py 2 additions, 2 deletionsaddons/auth_oauth/models/res_users.py
- addons/website_sale_wishlist/models/res_users.py 2 additions, 2 deletionsaddons/website_sale_wishlist/models/res_users.py
- odoo/addons/base/models/res_users.py 17 additions, 14 deletionsodoo/addons/base/models/res_users.py
- odoo/http.py 12 additions, 13 deletionsodoo/http.py
- odoo/service/common.py 4 additions, 9 deletionsodoo/service/common.py
- odoo/service/security.py 0 additions, 7 deletionsodoo/service/security.py
- odoo/tests/common.py 1 addition, 4 deletionsodoo/tests/common.py
Loading
Please register or sign in to comment