diff options
| author | Jairo Llopis <yajo.sk8@gmail.com> | 2016-07-13 13:42:00 +0200 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2016-10-13 16:30:03 +0200 |
| commit | a2f0dda366a9dc08fbd4a2348575dbc407e022f6 (patch) | |
| tree | 7a0729b9a89de3270621d663e677c05a814c8c97 /addons/website_project_issue/controllers/main.py | |
| parent | 4450495e9e678818e72cdf5c77e4569cc47b951c (diff) | |
[FIX] website_portal: redirect to login for '/my' controller
Current issue without this patch:
On a bare database, install `website_portal` and go to `/my/home` logged out.
You get to an empty page where you can see Public User's details.
Expected behavior with this patch:
User should be redirected to the login page.
Additional notes:
- Other submodules (`website_portal_sale` and `website_project_issue`) were
actually implementing this, so that is removed BTW and relies in base
module's now sensible behavior.
This commit closes #12775
Diffstat (limited to 'addons/website_project_issue/controllers/main.py')
| -rw-r--r-- | addons/website_project_issue/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_project_issue/controllers/main.py b/addons/website_project_issue/controllers/main.py index 4c15b60761b..cc48a11bb7c 100644 --- a/addons/website_project_issue/controllers/main.py +++ b/addons/website_project_issue/controllers/main.py @@ -6,7 +6,7 @@ from openerp.http import request class WebsiteAccount(website_account): - @http.route(['/my', '/my/home'], type='http', auth="user", website=True) + @http.route() def account(self): response = super(WebsiteAccount, self).account() user = request.env.user |
