aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorAlexander_Kabui2024-09-18 14:24:59 +0300
committerAlexander_Kabui2024-09-18 14:30:36 +0300
commite751f31c1cc740f79adc630b4277e21aeab58b6d (patch)
tree30cd897394fdf00ae190820f357b81ba745ccd45 /gn2
parent15200782f33f0f1f64d6686a8c00c79165257d0c (diff)
downloadgenenetwork2-e751f31c1cc740f79adc630b4277e21aeab58b6d.tar.gz
fix minor issue for setting redirect url.
Diffstat (limited to 'gn2')
-rw-r--r--gn2/wqflask/oauth2/checks.py2
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):