diff --git a/addons/auth_oauth/controllers/main.py b/addons/auth_oauth/controllers/main.py index e48aeebd8a5b73780262418b187e8eca1e49a871..4efe64d1a98448d94b34e4e063b841de29a1457e 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;