Files
odoo_source/addons/website/controllers
Aristobulo Meneses 814eae1fbd [FIX] website: avoid redirect to website after login
When logged in a user was redirected to the website instead of the backend.
This was due to a wrong group verification, at that point:
- request.uid = ID of the user authenticating (e.g. admin)
- request.env.uid = ID of the user that rendered the page (public)

As public does not belong to `base.group_user` group, the user was redirected to
the website.

Introduced at fd09ddb6 during migration.

Fixes #13203
Closes #13204
2016-08-19 17:16:30 +02:00
..
2016-08-04 12:02:14 +02:00