diff options
Diffstat (limited to 'gn2/wqflask/oauth2')
-rw-r--r-- | gn2/wqflask/oauth2/checks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/oauth2/checks.py b/gn2/wqflask/oauth2/checks.py index 6e90e7a3..55338930 100644 --- a/gn2/wqflask/oauth2/checks.py +++ b/gn2/wqflask/oauth2/checks.py @@ -34,7 +34,7 @@ def require_oauth2(func): redirect_url = url_for(request.endpoint, **request.args) else: redirect_url = "/" - session.set_redirect_url(redirect_url, **request.args) + session.set_redirect_url(redirect_url) return redirect(authserver_authorise_uri()) def __with_token__(token): |