diff options
| author | Christophe Simonis <chs@odoo.com> | 2014-06-02 15:17:58 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2014-06-02 15:17:58 +0200 |
| commit | 8ac408f70eb7eaf4aaac291c67522e351051f468 (patch) | |
| tree | 30b7c64aac18dec1795206648a8153b80d70caba /addons/auth_oauth/controllers | |
| parent | 6ed5b04146002d51c907a807834610421852bf43 (diff) | |
[FIX] auth_oauth: controller need to inherit from auth_signup controller
Diffstat (limited to 'addons/auth_oauth/controllers')
| -rw-r--r-- | addons/auth_oauth/controllers/main.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/auth_oauth/controllers/main.py b/addons/auth_oauth/controllers/main.py index 4fca426ffc0..eb6d69f09ca 100644 --- a/addons/auth_oauth/controllers/main.py +++ b/addons/auth_oauth/controllers/main.py @@ -11,6 +11,7 @@ from openerp import SUPERUSER_ID from openerp import http from openerp.http import request from openerp.addons.web.controllers.main import db_monodb, ensure_db, set_cookie_and_redirect, login_and_redirect +from openerp.addons.auth_signup.controllers.main import AuthSignupHome as Home from openerp.modules.registry import RegistryManager from openerp.tools.translate import _ @@ -44,7 +45,7 @@ def fragment_to_query_string(func): #---------------------------------------------------------- # Controller #---------------------------------------------------------- -class OAuthLogin(openerp.addons.web.controllers.main.Home): +class OAuthLogin(Home): def list_providers(self): try: provider_obj = request.registry.get('auth.oauth.provider') |
