diff options
| author | Aristobulo Meneses <aristobulo.meneses@eezee-it.com> | 2016-08-18 16:04:18 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-08-19 17:16:30 +0200 |
| commit | 814eae1fbd27aad056694b2c303dca398025f39d (patch) | |
| tree | b81e01ccc371eb4436ef7c6de4021347da8458ca /addons/web_editor/static/src/less/web_editor.ui.less | |
| parent | 5c3a60eb50aae0765cf254bd025513346d4d6146 (diff) | |
[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
Diffstat (limited to 'addons/web_editor/static/src/less/web_editor.ui.less')
0 files changed, 0 insertions, 0 deletions
