diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-09-03 23:57:57 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-09-03 23:57:57 +0200 |
| commit | 1a77d9d02a9cdfc13cb38a1f60a027310a278dce (patch) | |
| tree | cd11d1fb7b0d171d740a0edcf5e0fe0669bdae5e /addons/auth_oauth/controllers/main.py | |
| parent | 6d9b4de9392a6bad605229401832db876885cdaf (diff) | |
| parent | 476cb5a0902fefc528b9c472e4b1f14f0fdba47d (diff) | |
[MERGE] forward port branch saas-12 up to 476cb5a0
Diffstat (limited to 'addons/auth_oauth/controllers/main.py')
| -rw-r--r-- | addons/auth_oauth/controllers/main.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/auth_oauth/controllers/main.py b/addons/auth_oauth/controllers/main.py index 6dd0643b4fb..233cd839e6b 100644 --- a/addons/auth_oauth/controllers/main.py +++ b/addons/auth_oauth/controllers/main.py @@ -120,8 +120,6 @@ class OAuthLogin(Home): @http.route() def web_auth_reset_password(self, *args, **kw): providers = self.list_providers() - if len(providers) == 1: - werkzeug.exceptions.abort(werkzeug.utils.redirect(providers[0]['auth_link'], 303)) response = super(OAuthLogin, self).web_auth_reset_password(*args, **kw) response.qcontext.update(providers=providers) return response |
