summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2014-12-12 14:59:58 +0100
committerChristophe Simonis <chs@odoo.com>2014-12-12 15:11:08 +0100
commit68134d38a320d5dc8f8cf7d73d1347d772f5440b (patch)
tree47c0ae7fabe61258e2a51a72368a530ae30f2fe0 /addons
parentfd92f168017c6ecdd300c707d4004df2eb080bfc (diff)
[FIX] auth_oauth: ignore "debug" argument when converting fragment to query string
Diffstat (limited to 'addons')
-rw-r--r--addons/auth_oauth/controllers/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/auth_oauth/controllers/main.py b/addons/auth_oauth/controllers/main.py
index e48aeebd8a5..4efe64d1a98 100644
--- a/addons/auth_oauth/controllers/main.py
+++ b/addons/auth_oauth/controllers/main.py
@@ -24,6 +24,7 @@ _logger = logging.getLogger(__name__)
def fragment_to_query_string(func):
@functools.wraps(func)
def wrapper(self, *a, **kw):
+ kw.pop('debug', False)
if not kw:
return """<html><head><script>
var l = window.location;