diff options
author | Alexander_Kabui | 2024-09-18 14:24:59 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-09-18 14:30:36 +0300 |
commit | e751f31c1cc740f79adc630b4277e21aeab58b6d (patch) | |
tree | 30cd897394fdf00ae190820f357b81ba745ccd45 | |
parent | 15200782f33f0f1f64d6686a8c00c79165257d0c (diff) | |
download | genenetwork2-e751f31c1cc740f79adc630b4277e21aeab58b6d.tar.gz |
fix minor issue for setting redirect url.
-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): |