From e751f31c1cc740f79adc630b4277e21aeab58b6d Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Wed, 18 Sep 2024 14:24:59 +0300 Subject: fix minor issue for setting redirect url. --- gn2/wqflask/oauth2/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn2/wqflask/oauth2') 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): -- cgit v1.2.3