aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/oauth2
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-06-03 16:10:01 -0500
committerAlexander_Kabui2024-08-28 15:02:45 +0300
commit111593d7e1685db33188eb03685210db6656c0c8 (patch)
tree127ce21669dcc7703a36ba0344360a04385abbda /gn2/wqflask/oauth2
parent385b6b861e6586bf1dd985b3aa416124835f07a1 (diff)
downloadgenenetwork2-111593d7e1685db33188eb03685210db6656c0c8.tar.gz
Ensure endpoint returns a response.
Diffstat (limited to 'gn2/wqflask/oauth2')
-rw-r--r--gn2/wqflask/oauth2/users.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn2/wqflask/oauth2/users.py b/gn2/wqflask/oauth2/users.py
index 8a935170..ed88aaa4 100644
--- a/gn2/wqflask/oauth2/users.py
+++ b/gn2/wqflask/oauth2/users.py
@@ -84,7 +84,8 @@ def logout():
f"{the_session['masquerading']['name']} "
f"({the_session['masquerading']['email']})",
"alert-success")
- return redirect("/")
+
+ return redirect("/")
@users.route("/register", methods=["GET", "POST"])
def register_user():